Fix element not found error#169
Open
wout wants to merge 4 commits intoluckyframework:mainfrom
Open
Conversation
Member
|
Sweet! Thanks for the fix.
Is there a date somewhere we should be changing to a more standard format? |
Contributor
Author
I think it's just a locale issue in the browser. This is the error: It's because of this weird US date formatting ( But you make a good point, perhaps we can pass the flag higher up. I'll have a look. |
Contributor
Author
|
This works now without the flags. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In reply to: luckyframework/lucky_cli#883 (comment)
This PR includes two tweaks.
1. Increase retry timeout
I bumped it from
1to3seconds so there's just a bit more time for everything to become alive, without too much impact.2. Ensure
readyStatecheck happens in a new documentThe
readyStatecheck I added before was only partially effective becausereadyState === 'complete'could still be true for the previous page right after anavigate_to.Now, before each visit a marker is set on the previous page's window. After navigating we wait until both the marker is gone and
readyState === 'complete'.I also added a small note in the README on how to test on non-US systems. Always had one test failing because of a date formatting mismatch.