Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Sep 18, 2024
1 parent 7e3d56b commit 7b98ce6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions e2e/start/basic/tests/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,20 @@ test('Directly visiting the deferred route', async ({ page }) => {
)
})

test('Directly visiting the search-params route without search param set', async ({ page }) => {
test('Directly visiting the search-params route without search param set', async ({
page,
}) => {
await page.goto('/search-params')
await new Promise((r) => setTimeout(r, 500))
await expect(page.getByTestId('search-param')).toContainText('a')
expect (page.url().endsWith('/search-params?step=a'))
expect(page.url().endsWith('/search-params?step=a'))
})

test('Directly visiting the search-params route with search param set', async ({ page }) => {
test('Directly visiting the search-params route with search param set', async ({
page,
}) => {
await page.goto('/search-params?step=b')
await new Promise((r) => setTimeout(r, 500))
await expect(page.getByTestId('search-param')).toContainText('b')
expect (page.url().endsWith('/search-params?step=b'))
})
expect(page.url().endsWith('/search-params?step=b'))
})

0 comments on commit 7b98ce6

Please sign in to comment.