mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(test): change alert query in basic css test (#55530)
This commit is contained in:
@@ -58,9 +58,7 @@ test.describe('Responsive Web Design Projects - Basic CSS', () => {
|
||||
test('renders', async ({ page }) => {
|
||||
await page.goto(locations.index);
|
||||
|
||||
await expect(page.locator('.alert.alert-info')).toContainText(
|
||||
warningMessage
|
||||
);
|
||||
await expect(page.getByText(warningMessage)).toBeVisible();
|
||||
|
||||
for (const lessonName of lessonNames) {
|
||||
await expect(
|
||||
|
||||
Reference in New Issue
Block a user