Skip to content

Commit f60b406

Browse files
committed
fix: corrected E2E tests
1 parent ff7952e commit f60b406

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/navigation.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test.describe('Navigation Tests', () => {
44
test('homepage loads correctly', async ({ page }) => {
55
await page.goto('/');
66
await expect(page).toHaveTitle(/phpMyFAQ/);
7-
await expect(page.locator('h2.title')).toContainText('phpMyFAQ 4.0');
7+
await expect(page.locator('h2.title')).toContainText('phpMyFAQ 4.1');
88
await expect(page.locator('p.intro')).toContainText('phpMyFAQ is a mobile-friendly');
99
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();
@@ -31,7 +31,7 @@ test.describe('Navigation Tests', () => {
3131
await page.goto('/features');
3232
await page.click('a[href="/"] img[alt="Logo of phpMyFAQ"]');
3333
await expect(page).toHaveURL('/');
34-
await expect(page.locator('h2.title')).toContainText('phpMyFAQ 4.0');
34+
await expect(page.locator('h2.title')).toContainText('phpMyFAQ 4.1');
3535
});
3636

3737
test('footer links are present', async ({ page }) => {

0 commit comments

Comments
 (0)