diff --git a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb index f99bda11c7..6a2d77d1e1 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb @@ -297,7 +297,7 @@ Then(/^I should see list and indentation dropdown$/) do Screenshot.capture( @browser, "#{@scenario.name}-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", - [@current_page.indentation_pull_down_element, @current_page.bullet_number_selector_element] + [@current_page.indentation_button_element, @current_page.indentation_pull_down_element] ) end diff --git a/modules/ve-mw/tests/browser/features/support/pages/visual_editor_page.rb b/modules/ve-mw/tests/browser/features/support/pages/visual_editor_page.rb index af6ec3be0f..66d0c67914 100644 --- a/modules/ve-mw/tests/browser/features/support/pages/visual_editor_page.rb +++ b/modules/ve-mw/tests/browser/features/support/pages/visual_editor_page.rb @@ -68,6 +68,7 @@ class VisualEditorPage div(:heading_dropdown_menus, class: 'oo-ui-toolGroup-tools oo-ui-clippableElement-clippable', index: 1) div(:window_frame, css: 'div.oo-ui-window-setup > div.oo-ui-window-frame') span(:increase_indentation, class: 'oo-ui-iconElement-icon oo-ui-icon-indent-list') + div(:indentation_button, class: 've-test-toolbar-structure') div(:indentation_pull_down, css: '.ve-test-toolbar-structure .oo-ui-clippableElement-clippable') span(:insert_citation, css: '.ve-ui-nodeDialog > div:nth-child(1) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > a:nth-child(1) > span:nth-child(2) ')