From a857e3079c5a10147b1f193e6add15d732ae42e1 Mon Sep 17 00:00:00 2001 From: Jeff Hall Date: Thu, 13 Feb 2014 12:57:50 -0800 Subject: [PATCH] [Browser test] Basic maintenance for headings browser test. Change-Id: I85003448e41012af833a7b5754179da4a17cf652 --- .../features/support/pages/visual_editor_page.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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")