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

4489 Flaky spec when editing outgoing exchanges in OC #4756

Conversation

kristinalim
Copy link
Member

@kristinalim kristinalim commented Feb 4, 2020

What? Why?

The previous code was intermittently failing because of the race condition while clicking to open all panels for outgoing exchange products.

If the open trigger for the third exchange is clicked while the panels for the first and second exchanges are not yet open, the third exchange is pushed down to the bottom of the browser window already when the panels finally open. When this happens, the variant check boxes for the third exchange are no longer considered visible.

What should we test?

The test build should be green.

Release notes

  • Make automated tests more reliable.

Changelog Category: Fixed

Copy link
Contributor

@luisramos0 luisramos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks a lot for fixing this one Kristina!

Copy link
Contributor

@sauloperez sauloperez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you always find all these things? You rock at it! 🤘

@sauloperez sauloperez merged commit 2b87922 into openfoodfoundation:master Feb 4, 2020
@sauloperez sauloperez mentioned this pull request Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flaky Spec] ./spec/features/admin/order_cycles_spec.rb:279
4 participants