Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the purpose of await waitForTimeout(page, 10);? #18

Open
cer opened this issue Jun 2, 2021 · 1 comment
Open

What's the purpose of await waitForTimeout(page, 10);? #18

cer opened this issue Jun 2, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@cer
Copy link
Contributor

cer commented Jun 2, 2021

Why wait for a specific time period?
Shouldn't waiting for a selector be sufficient?

@cer cer added the question Further information is requested label Jun 2, 2021
@dartandrevinsky
Copy link
Collaborator

My initial intention was to introduce a wait to eliminate a false-positive check - to allow a UI time to change from a current state to a state when further selector-checking is valid.

However, upon closer inspection, none of the occurrences require such precaution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants