Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-h committed Feb 27, 2024
1 parent b4562cb commit f9e08f1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion playwright/ci-test/tests/02-download-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ test('download page', async ({ page }) => {
await expect(page.locator('#sidebar').getByRole('link', { name: 'Become a certified member' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'QGIS Foundation' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Project Organisation' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Members and Donors' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Members Blogs' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Funding' })).toBeVisible();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Download' })).toBeVisible();
Expand Down
4 changes: 2 additions & 2 deletions playwright/ci-test/tests/04-community-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ test('community page', async ({ page }) => {
await expect(page.getByRole('link', { name: 'Infrastructure' })).toBeVisible();
await page.getByRole('link', { name: 'Infrastructure' }).click();
await expect(page.getByText('Infrastructure ¶ This page')).toBeVisible();
await expect(page.getByRole('link', { name: 'User groups 🇩🇪 🇫🇷 🇪🇸' })).toBeVisible();
await page.getByRole('link', { name: 'User groups 🇩🇪 🇫🇷 🇪🇸' }).click();
await expect(page.getByRole('link', { name: 'Local User Groups' })).toBeVisible();
await page.getByRole('link', { name: 'Local User Groups' }).click();
await expect(page.getByText('User Groups ¶ Current list of')).toBeVisible();
await expect(page.getByRole('link', { name: 'Grant Program' })).toBeVisible();
await page.getByRole('link', { name: 'Grant Program' }).click();
Expand Down
1 change: 0 additions & 1 deletion playwright/ci-test/tests/05-donate-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ test('donate page', async ({ page }) => {
await page.locator('section').filter({ hasText: 'Free and open source Spatial' }).getByRole('link').click();
await expect(page.locator('#sidebar').getByRole('link', { name: 'Funding' })).toBeVisible();
await page.locator('#sidebar').getByRole('link', { name: 'Funding' }).click();
await expect(page.getByText('Support us ¶ QGIS is')).toBeVisible();
await expect(page.getByText('QGIS is developed by a team')).toBeVisible();
await expect(page.getByText('We rely on sponsorships and')).toBeVisible();
await expect(page.getByText('Donations to QGIS are tax-')).toBeVisible();
Expand Down

0 comments on commit f9e08f1

Please sign in to comment.