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

Orders spec update #8264

Merged

Conversation

filipefurtad0
Copy link
Contributor

@filipefurtad0 filipefurtad0 commented Sep 30, 2021

What? Why?

Relates to #8216 (won't close it just yet)

Adds test cases to the /orders page.

What should we test?

Green build.

Release notes

Improves test coverage on the orders page (release test automation).

Changelog Category: Technical changes

Documentation updates

Manual release testing document should be updated after merging this PR.

@filipefurtad0 filipefurtad0 marked this pull request as draft September 30, 2021 14:51
@filipefurtad0 filipefurtad0 changed the title Orders spec update [draft] Orders spec update Sep 30, 2021
@filipefurtad0 filipefurtad0 marked this pull request as ready for review September 30, 2021 16:50
@filipefurtad0 filipefurtad0 changed the title [draft] Orders spec update Orders spec update Sep 30, 2021
Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

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

Great!

@@ -179,6 +186,7 @@
fill_in "Email", with: user.email
fill_in "First name begins with", with: "J"
fill_in "Last name begins with", with: "D"
byebug
Copy link
Member

Choose a reason for hiding this comment

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

You can remove this from the Git history before submitting a PR. The easiest way I find is to make a single commit that just removes the line, then do an interactive rebase and put the fixup commit directly under the commit with the mistake and mark it as "fixup". The two commits then get merged into one and it's like this line never happened. 😄

Comment on lines +81 to +86
it "filter by complete date" do

login_as_admin_and_visit 'admin/orders'


find('#q_completed_at_gteq').click
Copy link
Member

Choose a reason for hiding this comment

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

Why so much space?

@andrewpbrett andrewpbrett merged commit c841994 into openfoodfoundation:master Oct 5, 2021
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