diff options
Diffstat (limited to 'spec/features/projects/environments/environments_spec.rb')
-rw-r--r-- | spec/features/projects/environments/environments_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb index 9ec41cd8f8d..b445b0da901 100644 --- a/spec/features/projects/environments/environments_spec.rb +++ b/spec/features/projects/environments/environments_spec.rb @@ -336,6 +336,11 @@ RSpec.describe 'Environments page', :js do accept_gl_confirm do find(action_link_selector).click end + + # Wait for UI to transition to ensure we an GraphQL request has been made + within(actions_button_selector) { find('.gl-spinner') } + within(actions_button_selector) { find('[data-testid="play-icon"]') } + wait_for_requests end |