[Browser test] Basic maintenance for headings browser test.

Change-Id: I85003448e41012af833a7b5754179da4a17cf652
This commit is contained in:
Jeff Hall 2014-02-13 12:57:50 -08:00
parent c2e1766fea
commit a857e3079c

View file

@ -11,7 +11,7 @@ class VisualEditorPage
span(:downarrow, class: "oo-ui-indicatedElement-indicator oo-ui-indicator-down") span(:downarrow, class: "oo-ui-indicatedElement-indicator oo-ui-indicator-down")
a(:edit_ve, title: /Edit this page with VisualEditor/) a(:edit_ve, title: /Edit this page with VisualEditor/)
a(:edit_wikitext, title: /You can edit this page\./) 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") span(:increase_indentation, class: "oo-ui-iconedElement-icon oo-ui-icon-indent-list")
a(:increase_indentation_on, title: /Increase indentation/) a(:increase_indentation_on, title: /Increase indentation/)
span(:insert_menu, text: "Insert") 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(:looks_good, class: "oo-ui-labeledElement-label", text: "Looks good to me")
span(:newpage_linksuggestion, text: "DoesNotExist") span(:newpage_linksuggestion, text: "DoesNotExist")
div(:page_text, id: "mw-content-text") div(:page_text, id: "mw-content-text")
span(:page_title, text: "Page title") a(:page_title, title: "^1")
span(:paragraph, text: "Paragraph") a(:paragraph, title: "^0")
span(:preformatted, text: "Preformatted") a(:preformatted, title: "^7")
span(:refs_link, text: "Reference") 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") 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(:save_page, class: "oo-ui-labeledElement-label", text: "Save page")
span(:subheading1, text: "Sub-heading 1") a(:subheading1, title: "^3")
span(:subheading2, text: "Sub-heading 2") a(:subheading2, title: "^4")
span(:subheading3, text: "Sub-heading 3") a(:subheading3, title: "^5")
span(:subheading4, text: "Sub-heading 4") a(:subheading4, title: "^6")
span(:switch_to_source_editing, class: "oo-ui-iconedElement-icon oo-ui-icon-source") 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(: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") span(:ve_bold_text, class: "oo-ui-iconedElement-icon oo-ui-icon-bold-b")