-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
issue #4979: Donation site screen improvement #4991
Merged
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
71a4408
fix issue 4979
Oce-ane 3103bff
Fix additional tests for donation site updates
Oce-ane e2d2f30
change the image to show new screen
Oce-ane 1a29023
delete unused partial
Oce-ane 7356c7e
deleted partial _table_row_prepend
Oce-ane 67d53ba
updated community_donation_sites.md images
Oce-ane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-190 KB
docs/user_guide/bank/images/community/donation_sites/create_donation_site.jpg
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,39 +20,6 @@ | |
expect(page.find(:xpath, "//table/tbody/tr[1]/td[1]")).to have_content(@first.name) | ||
expect(page.find(:xpath, "//table/tbody/tr[3]/td[1]")).to have_content(@third.name) | ||
end | ||
|
||
it "allows the user to quick-create a new donation site only with required fields" do | ||
visit subject | ||
donation_site_name = "A Unique Donation Site Name" | ||
donation_site_address = "1500 Remount Road, Front Royal, VA 22630" | ||
|
||
fill_in "donation_site_name", with: donation_site_name | ||
fill_in "donation_site_address", with: donation_site_address | ||
click_button "Create" | ||
expect(page.find("tbody tr")).to have_content(donation_site_name) | ||
expect(page.find("tbody tr")).to have_content(donation_site_address) | ||
end | ||
|
||
it "allows the user to quick-create a new donation site with all fields including optional ones" do | ||
visit subject | ||
donation_site_name = "A Unique Donation Site Name" | ||
donation_site_address = "1500 Remount Road, Front Royal, VA 22630" | ||
donation_site_contact_name = "John Doe" | ||
donation_site_phone = "123-456-7890" | ||
donation_site_email = "[email protected]" | ||
|
||
fill_in "donation_site_name", with: donation_site_name | ||
fill_in "donation_site_address", with: donation_site_address | ||
fill_in "donation_site_contact_name", with: donation_site_contact_name | ||
fill_in "donation_site_phone", with: donation_site_phone | ||
fill_in "donation_site_email", with: donation_site_email | ||
click_button "Create" | ||
expect(page.find("tbody tr")).to have_content(donation_site_name) | ||
expect(page.find("tbody tr")).to have_content(donation_site_address) | ||
expect(page.find("tbody tr")).to have_content(donation_site_contact_name) | ||
expect(page.find("tbody tr")).to have_content(donation_site_phone) | ||
expect(page.find("tbody tr")).to have_content(donation_site_email) | ||
end | ||
end | ||
|
||
context "When creating a new donation site" do | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image is still showing the old screen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the change. Should I wait for confirmation or go ahead with the change on table_row_prepend part ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm about 95% sure that that change should be made. So please go ahead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Oce-ane My apologies, I have a tendency to stop when I see a problem -- there are two more images shown in community_donation_sites.md that are showing the old screen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, really sorry about that ! I think I got them all this time