mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix up test failures in Chrome & Firefox
This commit is contained in:
parent
b72bb8a0ed
commit
1b9a12746d
29 changed files with 145 additions and 78 deletions
|
|
@ -22,7 +22,7 @@ feature DifficultyLevel do
|
|||
page.find('#difficulty_level_color').set('#ff0000')
|
||||
|
||||
click_button 'Create Difficulty level'
|
||||
|
||||
page.find('#flash')
|
||||
# Validations
|
||||
expect(flash).to eq('Difficulty level successfully created.')
|
||||
within('table#difficulty_levels') do
|
||||
|
|
@ -40,9 +40,12 @@ feature DifficultyLevel do
|
|||
conference_id: conference.short_title)
|
||||
|
||||
# Remove difficulty level
|
||||
within('table tr:nth-of-type(4)') do
|
||||
click_link 'Delete'
|
||||
page.accept_alert do
|
||||
within('table tr:nth-of-type(4)') do
|
||||
click_link 'Delete'
|
||||
end
|
||||
end
|
||||
page.find('#flash')
|
||||
|
||||
# Validations
|
||||
expect(flash).to eq('Difficulty level successfully deleted.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue