Skip to content

Commit d602d47

Browse files
committed
e2e fixes
1 parent 356d301 commit d602d47

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

e2e/dogfooding.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ It is used to test the following features:
5353

5454
await expect(page.getByTestId('page-header-title')).toContainText(displayName)
5555

56-
// Navigate to services list via the dashboard card
57-
await page.locator('shade-dashboard a', { hasText: 'Services' }).click()
56+
// Navigate to services list via the dashboard card's "View All" link
57+
await page.locator('shade-dashboard a', { hasText: 'View All' }).first().click()
5858
await expect(page.locator('shade-services-list')).toBeVisible()
5959
await page.locator('button', { hasText: 'Create Service' }).first().click()
6060
await expect(page.locator('shade-create-service-wizard')).toBeVisible()

e2e/smoke.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ test.describe.serial('App Flow', () => {
3434

3535
await expect(page.getByTestId('page-header-title')).toContainText(displayName)
3636

37-
// Navigate to services list via the dashboard card
38-
await page.locator('shade-dashboard a', { hasText: 'Services' }).click()
37+
// Navigate to services list via the dashboard card's "View All" link
38+
await page.locator('shade-dashboard a', { hasText: 'View All' }).first().click()
3939
await expect(page.locator('shade-services-list')).toBeVisible()
4040
await page.locator('button', { hasText: 'Create Service' }).first().click()
4141
await expect(page.locator('shade-create-service-wizard')).toBeVisible()

0 commit comments

Comments
 (0)