Commit 63e6aa62 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-e2e-improve-clone-push-pull-project-snippet' into 'master'

Improve snippet specs by adding Dynamic Element Validation on saving

Closes #233991

See merge request gitlab-org/gitlab!39178
parents a45e29be 585f4dfd
...@@ -20,8 +20,7 @@ module QA ...@@ -20,8 +20,7 @@ module QA
end end
def save_changes def save_changes
click_element(:submit_button) click_element(:submit_button, Page::Dashboard::Snippet::Show)
wait_until { assert_no_element(:submit_button) }
end end
private private
......
...@@ -6,6 +6,10 @@ module QA ...@@ -6,6 +6,10 @@ module QA
module Snippet module Snippet
class Show < Page::Base class Show < Page::Base
include Page::Component::Snippet include Page::Component::Snippet
view 'app/assets/javascripts/snippets/components/snippet_title.vue' do
element :snippet_title_content, required: true
end
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment