dropdown: refactor to make the button an actual button

This commit is contained in:
Pierre de La Morinerie 2018-09-11 17:51:44 +02:00 committed by Paul Chavard
parent 3ede25e1b0
commit cd938b4c36
16 changed files with 92 additions and 86 deletions

View file

@ -178,7 +178,7 @@ feature 'Invitations' do
end
def send_invite_to(invited_email)
find('.button.invite-user-action').click()
click_on "Inviter une personne à modifier ce dossier"
expect(page).to have_button("Envoyer une invitation", visible: true)
fill_in 'invite_email', with: invited_email