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

Fixed insufficient inventory error message. #2056

Merged
merged 6 commits into from
Jul 5, 2017

Conversation

husam212
Copy link
Contributor

@husam212 husam212 commented Jul 4, 2017

No description provided.

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Thank you

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.

Thanks

@gmacdougall
Copy link
Member

Thanks for the contribution. We've had an issue with our circle configuration which should be resolved now. Could you please rebase this on to master if you have a moment?

jhawthorn and others added 5 commits July 5, 2017 01:40
This spec wasn't testing anything, it never confirmed the split it was
setting up. The accept_alert errored on some drivers because no error
was raised.
Previously, if a shipment split failed, the page would issue an
alert(undefined). It would never alert with a proper error.

This failed on the capybara selenium driver because it was confused
about getting undefined.

This replaces
     alert(undefined)
with
    alert("Unable to complete split")

Which is a little better (admittedly not much) for users, but doesn't
confuse the selenium test driver.
Having text fields concatenated together is a poltergeist specific
behaviour. Fortunately, asserting on the page title is a lot cleaner and
just as effective.
Under selenium this spec wasn't working because it didn't click "ok" on
the confirmation dialog. Also fixes a before block which wasn't running
(which didn't affect the accuracy of the test, but did make it slightly
slower).
@gmacdougall
Copy link
Member

Tests pass with things fixed up. Merging!

@gmacdougall gmacdougall merged commit 74d7b94 into solidusio:master Jul 5, 2017
@swcraig swcraig mentioned this pull request Aug 17, 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.

5 participants