Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/users/terms_spec.rb')
-rw-r--r--spec/features/users/terms_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/users/terms_spec.rb b/spec/features/users/terms_spec.rb
index 3495af3ae85..e51ed3a0e80 100644
--- a/spec/features/users/terms_spec.rb
+++ b/spec/features/users/terms_spec.rb
@@ -157,8 +157,7 @@ RSpec.describe 'Users > Terms', :js, feature_category: :user_profile do
it 'allows the user to sign out without a response' do
visit terms_path
- find('.header-user-dropdown-toggle').click
- click_link('Sign out')
+ click_button('Decline and sign out')
expect(page).to have_content('Sign in')
expect(page).to have_content('Register')