diff options
Diffstat (limited to 'qa/qa/page/component/snippet.rb')
-rw-r--r-- | qa/qa/page/component/snippet.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/qa/qa/page/component/snippet.rb b/qa/qa/page/component/snippet.rb index 05d59acd8e8..12695ddd5b0 100644 --- a/qa/qa/page/component/snippet.rb +++ b/qa/qa/page/component/snippet.rb @@ -43,7 +43,7 @@ module QA element :snippet_embed_dropdown end - base.view 'app/assets/javascripts/vue_shared/components/clone_dropdown.vue' do + base.view 'app/assets/javascripts/vue_shared/components/clone_dropdown/clone_dropdown.vue' do element :copy_http_url_button element :copy_ssh_url_button end @@ -70,6 +70,10 @@ module QA element :note_author_content end + base.view 'app/views/shared/notes/_notes_with_form.html.haml' do + element :notes_list + end + base.view 'app/views/projects/notes/_more_actions_dropdown.html.haml' do element :more_actions_dropdown element :delete_comment_button @@ -216,6 +220,10 @@ module QA end end + def within_notes_list(&block) + within_element :notes_list, &block + end + def has_syntax_highlighting?(language) within_element(:blob_viewer_file_content) do find('.line')['lang'].to_s == language |