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 'qa/qa/page/project/snippet/new.rb')
-rw-r--r--qa/qa/page/project/snippet/new.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/qa/qa/page/project/snippet/new.rb b/qa/qa/page/project/snippet/new.rb
index 4a13e597e15..1a7e771ce7b 100644
--- a/qa/qa/page/project/snippet/new.rb
+++ b/qa/qa/page/project/snippet/new.rb
@@ -8,8 +8,8 @@ module QA
include Page::Component::NewSnippet
include Component::LazyLoader
view 'app/views/shared/empty_states/_snippets.html.haml' do
- element :create_first_snippet_link
- element :svg_content
+ element 'create-first-snippet-link'
+ element 'svg-content'
end
def click_create_first_snippet
@@ -19,10 +19,10 @@ module QA
# "New snippet" button shifts up a bit. This can cause
# webdriver to miss the hit so we wait for the svg to load before
# clicking the button.
- within_element(:svg_content) do
- has_element?(:js_lazy_loaded_content)
+ within_element('svg-content') do
+ has_element?('js-lazy-loaded-content')
end
- click_element(:create_first_snippet_link)
+ click_element('create-first-snippet-link')
end
end
end