Skip to content

Commit

Permalink
test: set exact token timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed May 30, 2024
1 parent 35c3ab1 commit d8c26d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { type Page, expect } from '@playwright/test'

export const credentials = { email: '[email protected]', password: 'abc123' }

export const tokenTimeout = 16000
export const tokenTimeout = 14000

export async function goto(page: Page, path: string) {
await page.goto(path)
await expect(page.getByTestId('hydration-check')).toBeAttached()
await expect(page.getByTestId('hydration-check')).toBeDefined()
}

export async function reload(page: Page) {
Expand Down

0 comments on commit d8c26d7

Please sign in to comment.