diff options
Diffstat (limited to 'spec/features/clusters/create_agent_spec.rb')
-rw-r--r-- | spec/features/clusters/create_agent_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/clusters/create_agent_spec.rb b/spec/features/clusters/create_agent_spec.rb index d90c43f452c..79eaecdf582 100644 --- a/spec/features/clusters/create_agent_spec.rb +++ b/spec/features/clusters/create_agent_spec.rb @@ -27,7 +27,7 @@ RSpec.describe 'Cluster agent registration', :js, feature_category: :deployment_ end it 'allows the user to select an agent to install, and displays the resulting agent token' do - find('[data-testid="clusters-default-action-button"]').click + find_by_testid('clusters-default-action-button').click expect(page).to have_content('Register') |