Commit 00188c61 authored by Winnie Hellmann's avatar Winnie Hellmann

Replace .js-dropdown-play-icon-container with .js-environment-actions-dropdown environments_spec.rb

Missing EE-port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22106
parent 31c178cc
......@@ -44,7 +44,7 @@ describe 'Environments page', :js do
end
it 'shows an enabled play button' do
find('.js-dropdown-play-icon-container').click
find('.js-environment-actions-dropdown').click
play_button = %q{button[class="js-manual-action-link no-btn btn"]}
expect(page).to have_selector(play_button)
......@@ -126,7 +126,7 @@ describe 'Environments page', :js do
end
it 'show a disabled play button' do
find('.js-dropdown-play-icon-container').click
find('.js-environment-actions-dropdown').click
disabled_play_button = %q{button[class="js-manual-action-link no-btn btn disabled"]}
expect(page).to have_selector(disabled_play_button)
......
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