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

Remove wait_for_ajax calls and deprecate #1668

Merged
merged 6 commits into from
Jan 3, 2017

Conversation

cbrunsdon
Copy link
Contributor

wait_for_ajax is a relic left over from the spree codebase when people
had a poor understanding of how capybara worked (and it was harder to
understand what and how matchers waited).

We can now mark it deprecated in the hopes people fix up their test
suites.

Clarke Brunsdon added 6 commits December 30, 2016 13:00
The matcher below should appropriately wait on the shipment re-appearing
Just look for the successfully deleted message
Look for the message that it was successfully removed instead
The alert box that pops up has no reasonable error message, just
"undefined". Rather than fixing that behavior I'm getting a test in for
it first.
The waiting matcher directly below is good enough
wait_for_ajax is a relic left over from the spree codebase when people
had a poor understanding of how capybara worked (and it was harder to
understand what and how matchers waited).

We can now mark it deprecated in the hopes people fix up their test
suites.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jhawthorn jhawthorn left a comment

Choose a reason for hiding this comment

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

👍 💯

@jhawthorn jhawthorn merged commit ffe3933 into solidusio:master Jan 3, 2017
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.

3 participants