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/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb')
-rw-r--r--spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb b/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb
index a48ff8a5f77..09444084eb9 100644
--- a/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb
+++ b/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb
@@ -25,7 +25,7 @@ RSpec.shared_examples 'User updates wiki page' do
end
it 'redirects back to the home edit page' do
- page.within(:css, '.wiki-form .form-actions') do
+ page.within(:css, '[data-testid="wiki-form-actions"]') do
click_on('Cancel')
end
@@ -128,7 +128,7 @@ RSpec.shared_examples 'User updates wiki page' do
end
it 'cancels editing of a page' do
- page.within(:css, '.wiki-form .form-actions') do
+ page.within(:css, '[data-testid="wiki-form-actions"]') do
click_on('Cancel')
end