-
Notifications
You must be signed in to change notification settings - Fork 33
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
Tests are flaky #49
Comments
SparshithNR
pushed a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 1, 2017
Merged
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 1, 2017
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 1, 2017
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 2, 2017
SparshithNR
pushed a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 2, 2017
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 2, 2017
linkedin#49 : Fix: Added a small wait time after each scroll
SparshithNR
pushed a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 2, 2017
linkedin#49 WIP:linkedin#49 linkedin#49 WIP:linkedin#49 linkedin#49 linkedin#49 : Fix: Added a small wait time after each scroll
SparshithNR
pushed a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 2, 2017
linkedin#49 : Fix: Added a small wait time after each scroll
asakusuma
pushed a commit
that referenced
this issue
Jun 2, 2017
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jun 30, 2017
linkedin#49 Clean up work
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jul 3, 2017
linkedin#49 Modified tests to respect the threshold time and addressed review comment
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jul 10, 2017
linkedin#49 Impression complete event spec making it to use impression threshold
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jul 31, 2017
linkedin#49 Clean up work
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jul 31, 2017
linkedin#49 Modified tests to respect the threshold time and addressed review comment
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Jul 31, 2017
linkedin#49 Impression complete event spec making it to use impression threshold
SparshithNR
added a commit
to SparshithNR/spaniel
that referenced
this issue
Aug 1, 2017
linkedin#49 Making test deterministic
asakusuma
pushed a commit
that referenced
this issue
Aug 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test are very dependent on
nightmare.wait()
. The asynchronous nature of the implementation makes things hard to test, but there are some tests that are flaky on local machines. A few potential fixes:Improve timing issues
IMPRESSION_THRESHOLD
andRAF_THRESHOLD
constants so that it's not a pain to change all the testwait()
values every time we want to change thresholds or tweak global timing variables.Try another headless browser
Like headless chrome. We would just need to re-implement SpanielContext and Context
The text was updated successfully, but these errors were encountered: