Skip to content

Commit

Permalink
Bump up the timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Feliziani <[email protected]>
  • Loading branch information
GioSensation committed Sep 29, 2023
1 parent 8d3d7ee commit 5ccb3b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-test/helpers/harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function forwardConsoleMessages (page, _opts = {}) {
*/
export async function performanceEntries (page, measureName) {
// don't measure until the entries exist
await page.waitForFunction((measureName) => window.performance.getEntriesByName(measureName).length > 0, `${measureName}:end`, { timeout: 2000 })
await page.waitForFunction((measureName) => window.performance.getEntriesByName(measureName).length > 0, `${measureName}:end`, { timeout: 3000 })
const result = await page.evaluate((measureName) => {
window.performance?.measure?.(measureName, `${measureName}:start`, `${measureName}:end`)
const entries = window.performance?.getEntriesByName(measureName)
Expand Down
2 changes: 1 addition & 1 deletion integration-test/tests/email-autofill.macos.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ test.describe('macos', () => {
// This could cause a crash or hang in certain browsers (Webkit 17)
test('large dom with potentially huge regex checks', async ({page}) => {
// If this fails, the process is expected to crash or hang. The timeout hopefully shortens the feedback loop.
test.setTimeout(2000)
test.setTimeout(3000)
await createWebkitMocks().applyTo(page)
await createAutofillScript()
.replaceAll(macosContentScopeReplacements())
Expand Down

0 comments on commit 5ccb3b9

Please sign in to comment.