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/file/show.rb')
-rw-r--r--qa/qa/page/file/show.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/qa/qa/page/file/show.rb b/qa/qa/page/file/show.rb
index 284fab58d5d..e52b1838392 100644
--- a/qa/qa/page/file/show.rb
+++ b/qa/qa/page/file/show.rb
@@ -9,18 +9,18 @@ module QA
include Page::Component::BlobContent
view 'app/assets/javascripts/repository/components/blob_button_group.vue' do
- element :lock_button
+ element 'lock-button'
end
view 'app/assets/javascripts/vue_shared/components/web_ide_link.vue' do
- element :action_dropdown
- element :edit_menu_item, ':data-qa-selector="`${action.key}_menu_item`"' # rubocop:disable QA/ElementWithPattern
- element :webide_menu_item, ':data-qa-selector="`${action.key}_menu_item`"' # rubocop:disable QA/ElementWithPattern
+ element 'action-dropdown'
+ element 'edit-menu-item', ':data-testid="`${action.key}-menu-item`"' # rubocop:disable QA/ElementWithPattern
+ element 'webide-menu-item', ':data-testid="`${action.key}-menu-item`"' # rubocop:disable QA/ElementWithPattern
end
def click_edit
- click_element(:action_dropdown)
- click_element(:edit_menu_item)
+ click_element('action-dropdown')
+ click_element('edit-menu-item')
end
def click_delete