mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
trigger click instead of .click
This commit is contained in:
parent
0daeaf859f
commit
89c77fa33b
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ feature SupporterLevel do
|
|||
# Remove supporter level
|
||||
click_link 'Remove supporter_level'
|
||||
expect(page.all('div.nested-fields').count == 0).to be true
|
||||
click_button 'Update Conference'
|
||||
find('button', text: 'Update Conference').trigger('click')
|
||||
expect(flash).to eq('Supporter levels were successfully updated.')
|
||||
expect(page.all('div.nested-fields').count == 0).to be true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue