summaryrefslogtreecommitdiff
path: root/spec/features/profile_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-21 15:10:28 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-21 15:10:28 +0000
commit63324f9cfd863cda2f717835efc933cdd5ade792 (patch)
tree65717323c2d3f1f35ebff2441823f16aa9e27eb0 /spec/features/profile_spec.rb
parent4944e9e5a9a3f57998c5033b10cdfa2975b71227 (diff)
downloadgitlab-ce-63324f9cfd863cda2f717835efc933cdd5ade792.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/profile_spec.rb')
-rw-r--r--spec/features/profile_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/profile_spec.rb b/spec/features/profile_spec.rb
index 4326700bab1..5d3a00017f2 100644
--- a/spec/features/profile_spec.rb
+++ b/spec/features/profile_spec.rb
@@ -101,10 +101,10 @@ RSpec.describe 'Profile account page', :js do
it 'changes my username' do
fill_in 'username-change-input', with: 'new-username'
- page.find('[data-target="#username-change-confirmation-modal"]').click
+ page.find('[data-testid="username-change-confirmation-modal"]').click
page.within('.modal') do
- find('.js-modal-primary-action').click
+ find('.js-modal-action-primary').click
end
expect(page).to have_content('new-username')