Skip to content

Commit

Permalink
chore(tests): Fix failing kitchen-sink tests by logging in (#10920)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jul 5, 2024
1 parent 2b18e22 commit 7563a9d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ test('Submitting the form should return a response', async ({ page }) => {
})

test('Page with Cell', async ({ page }) => {
await loginAsTestUser({ page, ...testUser })

await page.goto('/user-examples')

const h1 = await page.locator('h1').innerHTML()
Expand All @@ -118,6 +120,8 @@ test('Page with Cell', async ({ page }) => {
})

test("'use client' cell Empty state", async ({ page }) => {
await loginAsTestUser({ page, ...testUser })

await page.goto('/empty-users')

const h1 = await page.locator('h1').innerHTML()
Expand All @@ -132,6 +136,8 @@ test("'use client' cell Empty state", async ({ page }) => {
})

test("'use client' cell navigation", async ({ page }) => {
await loginAsTestUser({ page, ...testUser })

await page.goto('/empty-users')

await expect(page.getByText('No emptyUsers yet.')).toBeVisible()
Expand Down

0 comments on commit 7563a9d

Please sign in to comment.