Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Jan 9, 2023
1 parent 99cb86a commit 0b8e98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snap/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function isFirstElementAppearsFirst({
selectorOrXpath1,
selectorOrXpath2,
page,
timeout = 2000,
timeout = 4000,
}: IsFirstElementAppearsFirstParams): Promise<boolean> {
const promise1 = getWaitingPromise(page, selectorOrXpath1, timeout).then(
() => true
Expand Down

0 comments on commit 0b8e98c

Please sign in to comment.