Skip to content

Commit 1e985da

Browse files
committed
fix: corrected E2E tests
1 parent 277f989 commit 1e985da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/navigation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test.describe('Navigation Tests', () => {
66
await expect(page).toHaveTitle(/phpMyFAQ/);
77
await expect(page.locator('h2.title')).toContainText('phpMyFAQ 4.0');
88
await expect(page.locator('p.intro')).toContainText('phpMyFAQ is a mobile-friendly');
9-
await expect(page.locator('a[href="http://demo.phpmyfaq.de/"]')).toBeVisible();
9+
await expect(page.locator('.promo a[href="/demo"], .promo a[href="/demo/"]')).toBeVisible();
1010
await expect(page.locator('.promo a[href="/download"], .promo a[href="/download/"]')).toBeVisible();
1111
});
1212

0 commit comments

Comments
 (0)