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

intermittent travis failures on "could not handle JavaScript dialog" #2141

Closed
brendankenny opened this issue May 3, 2017 · 2 comments · Fixed by #2437
Closed

intermittent travis failures on "could not handle JavaScript dialog" #2141

brendankenny opened this issue May 3, 2017 · 2 comments · Fixed by #2437

Comments

@brendankenny
Copy link
Member

brendankenny commented May 3, 2017

This is from the smoke test introduced in #2120. handleJavaScriptDialog

screen shot 2017-05-03 at 12 35 30

Behavior seems to be it fails, the promise rejection is unhandled (intentionally), then the test sits there and spins until travis hits its 10 minute timeout.

I'm not sure how the protocol is failing to dismiss the dialog (and only on travis? or are we just not running yarn smoke enough locally?), but the only solution I know of right now is removing the window.confirm from dbw_tester, which would be unfortunate.

Any other ideas?

@brendankenny brendankenny changed the title travis failures on "could not handle JavaScript dialog" intermittent travis failures on "could not handle JavaScript dialog" May 3, 2017
@patrickhulce
Copy link
Collaborator

patrickhulce commented May 3, 2017

😢 if there's not a simple timeout/polling-like fix then I'm in favor of removing, we don't need to introduce even more noise to our travis runs in addition to screenshots... :/

@brendankenny
Copy link
Member Author

ideally the real fix would be figuring out why the protocol can't dismiss a modal.

Agreed on the no-(new-)flakiness, but this would be a good thing to automatically not regress on. Most sites that we test normally don't do modal prompts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants