Skip to content

Commit 60d64c4

Browse files
committed
Fix text ambiguous matches
1 parent c2371a7 commit 60d64c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/system/manage_system_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
end
2828

2929
it "can edit the properties for an organization as an admin" do
30-
click_on "Edit"
30+
click_on "Edit", match: :first
3131
fill_in "Name", with: "Something else"
3232
click_button "Save"
3333
expect(page).to have_content("pdated your organization")

spec/system/organization_system_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def post_form_submit
145145
expect(page).to have_content('Media Information')
146146
expect(organization.reload.partner_form_fields).to eq(['media_information'])
147147
# deselect previously chosen Required Partner Field
148-
click_on "Edit"
148+
click_on "Edit", match: :first
149149
unselect('Media Information', from: 'organization_partner_form_fields', visible: false)
150150
click_on "Save"
151151
expect(page).to_not have_content('Media Information')

0 commit comments

Comments
 (0)