diff --git a/modules/ve-mw/test/browser/features/support/pages/visual_editor_page.rb b/modules/ve-mw/test/browser/features/support/pages/visual_editor_page.rb index 69e7346bca..c2bd6e81b6 100644 --- a/modules/ve-mw/test/browser/features/support/pages/visual_editor_page.rb +++ b/modules/ve-mw/test/browser/features/support/pages/visual_editor_page.rb @@ -11,7 +11,7 @@ class VisualEditorPage span(:downarrow, class: "oo-ui-indicatedElement-indicator oo-ui-indicator-down") a(:edit_ve, title: /Edit this page with VisualEditor/) a(:edit_wikitext, title: /You can edit this page\./) - span(:heading, text: "Heading") + a(:heading, title: "^2") span(:increase_indentation, class: "oo-ui-iconedElement-icon oo-ui-icon-indent-list") a(:increase_indentation_on, title: /Increase indentation/) span(:insert_menu, text: "Insert") @@ -22,16 +22,16 @@ class VisualEditorPage span(:looks_good, class: "oo-ui-labeledElement-label", text: "Looks good to me") span(:newpage_linksuggestion, text: "DoesNotExist") div(:page_text, id: "mw-content-text") - span(:page_title, text: "Page title") - span(:paragraph, text: "Paragraph") - span(:preformatted, text: "Preformatted") + a(:page_title, title: "^1") + a(:paragraph, title: "^0") + a(:preformatted, title: "^7") span(:refs_link, text: "Reference") div(:save_disabled, class: "oo-ui-widget oo-ui-widget-disabled oo-ui-flaggableElement-constructive oo-ui-.oo-ui-buttonedElement-framed") span(:save_page, class: "oo-ui-labeledElement-label", text: "Save page") - span(:subheading1, text: "Sub-heading 1") - span(:subheading2, text: "Sub-heading 2") - span(:subheading3, text: "Sub-heading 3") - span(:subheading4, text: "Sub-heading 4") + a(:subheading1, title: "^3") + a(:subheading2, title: "^4") + a(:subheading3, title: "^5") + a(:subheading4, title: "^6") span(:switch_to_source_editing, class: "oo-ui-iconedElement-icon oo-ui-icon-source") span(:tools_menu, class: "oo-ui-iconedElement-icon oo-ui-icon-menu") span(:ve_bold_text, class: "oo-ui-iconedElement-icon oo-ui-icon-bold-b")