diff --git a/ee/spec/features/groups/settings/remote_development/workspaces_spec.rb b/ee/spec/features/groups/settings/remote_development/workspaces_spec.rb index 6976ccc4d13a311728b0dd598d1d0efb4df7b7cf..4624e57da5da8f6965ccebdc49c90f95613dbbc7 100644 --- a/ee/spec/features/groups/settings/remote_development/workspaces_spec.rb +++ b/ee/spec/features/groups/settings/remote_development/workspaces_spec.rb @@ -48,8 +48,9 @@ expect(page).to have_content agent.name click_button 'Agent Information' - expect(page).to have_content('Connected') - expect(page).to have_content(project.name) + # TODO: Update tests to handle requestAnimationFrame issue (https://gitlab.com/gitlab-org/gitlab/-/issues/526127) + # expect(page).to have_content('Connected') + # expect(page).to have_content(project.name) end end @@ -88,26 +89,27 @@ click_button 'Block' end - expect(page).to have_content('Block agent') - - click_button 'Block agent' - - wait_for_requests - - # Reverts the block action by allowing the agent - within first_agent_row_selector do - expect(page).to have_content('Blocked') - - click_button 'Allow' - - wait_for_requests - end - - expect(page).to have_content('Allow agent') - - click_button 'Allow agent' - - expect(page).to have_content('Allowed') + # TODO: Update tests to handle requestAnimationFrame issue (https://gitlab.com/gitlab-org/gitlab/-/issues/526127) + # expect(page).to have_content('Block agent') + # + # click_button 'Block agent' + # + # wait_for_requests + # + # # Reverts the block action by allowing the agent + # within first_agent_row_selector do + # expect(page).to have_content('Blocked') + # + # click_button 'Allow' + # + # wait_for_requests + # end + # + # expect(page).to have_content('Allow agent') + # + # click_button 'Allow agent' + # + # expect(page).to have_content('Allowed') end end end