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/profiles/keys_spec.rb')
-rw-r--r--spec/features/profiles/keys_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/profiles/keys_spec.rb b/spec/features/profiles/keys_spec.rb
index 65944f5a537..7a2a12d8dca 100644
--- a/spec/features/profiles/keys_spec.rb
+++ b/spec/features/profiles/keys_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-RSpec.describe 'Profile > SSH Keys' do
+RSpec.describe 'Profile > SSH Keys', feature_category: :users do
let(:user) { create(:user) }
before do
@@ -80,7 +80,7 @@ RSpec.describe 'Profile > SSH Keys' do
shared_examples 'removes key' do
it 'removes key' do
visit path
- click_button('Delete')
+ find('[data-testid=remove-icon]').click
page.within('.modal') do
page.click_button('Delete')