Skip to content

Commit

Permalink
test: fix additional assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 21, 2024
1 parent d4d4f3a commit 313b296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .e2e/tests/features/data-fetching.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test.describe("Component page", () => {
"Your heart is the size of an ocean. Go find yourself in its hidden depths."
)
).toBeVisible()
await expect(page.getByText("Kevin Kruse")).toBeVisible()
await expect(page.getByText("Rumi")).toBeVisible()
})

test('Visiting "Component Page" directly shows the first quote', async ({
Expand All @@ -57,6 +57,6 @@ test.describe("Component page", () => {
"Your heart is the size of an ocean. Go find yourself in its hidden depths."
)
).toBeVisible()
await expect(page.getByText("Kevin Kruse")).toBeVisible()
await expect(page.getByText("Rumi")).toBeVisible()
})
})

0 comments on commit 313b296

Please sign in to comment.