Commit cf716502 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken test

parent c808c1c9
...@@ -85,14 +85,14 @@ feature 'Environments page', :feature, :js do ...@@ -85,14 +85,14 @@ feature 'Environments page', :feature, :js do
end end
scenario 'does show a play button' do scenario 'does show a play button' do
find('.dropdown-play-icon-container').click find('.js-dropdown-play-icon-container').click
expect(page).to have_content(manual.name.humanize) expect(page).to have_content(manual.name.humanize)
end end
scenario 'does allow to play manual action', js: true do scenario 'does allow to play manual action', js: true do
expect(manual).to be_skipped expect(manual).to be_skipped
find('.dropdown-play-icon-container').click find('.js-dropdown-play-icon-container').click
expect(page).to have_content(manual.name.humanize) expect(page).to have_content(manual.name.humanize)
expect { click_link(manual.name.humanize) } expect { click_link(manual.name.humanize) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment