jenkins-bot has submitted this change and it was merged.

Change subject: [BrowserTest]Fixing options test Fixed the unique selector for 
failing cases Change-Id: I41bde7245328303fcc8c5afea8f7228c1d36b915
......................................................................


[BrowserTest]Fixing options test
Fixed the unique selector for failing cases
Change-Id: I41bde7245328303fcc8c5afea8f7228c1d36b915
---
M modules/ve-mw/tests/browser/features/support/pages/visual_editor_page.rb
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Cmcmahon: Looks good to me, approved
  jenkins-bot: Verified



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 aef4e52..25c19fa 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
@@ -40,13 +40,13 @@
   span(:confirm_switch_cancel, text: 'Resume editing')
   span(:confirm_switch_cancel_on_switch, text: 'Cancel')
   span(:confirm_switch_discard, text: 'Discard changes')
-  span(:option_to_always_show_TOC, css: 'div.oo-ui-fieldLayout:nth-child(4) > 
div:nth-child(3) > div:nth-child(1) > div:nth-child(1) > a:nth-child(1) > 
span:nth-child(2)')
+  span(:option_to_always_show_TOC, css: 
'div.oo-ui-fieldLayout-align-top:nth-child(4) > div:nth-child(2) > 
div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > a:nth-child(1) > 
span:nth-child(2)')
   div(:content, class: 've-ce-branchNode')
   span(:decrease_indentation, class: 'oo-ui-iconElement-icon 
oo-ui-icon-outdent-list')
   text_area(:describe_change, index: 0)
   div(:diff_view, class: 've-ui-mwSaveDialog-viewer')
   div(:disabled_save_button, class: 'oo-ui-widget oo-ui-widget-disabled 
oo-ui-buttonElement oo-ui-buttonElement-framed oo-ui-labelElement 
oo-ui-flaggedElement-constructive oo-ui-flaggedElement-primary 
oo-ui-buttonWidget ve-ui-toolbar-saveButton oo-ui-image-constructive')
-  text_field(:display_title_textbox, css: 'label.oo-ui-layout:nth-child(4) > 
div:nth-child(1) > div:nth-child(1) > input:nth-child(1)')
+  text_field(:display_title_textbox, css: 
'div.oo-ui-fieldLayout-align-inline:nth-child(4) > label:nth-child(1) > 
div:nth-child(1) > div:nth-child(1) > input:nth-child(1)')
   text_field(:redirect_page_name_textbox, css: '.oo-ui-flaggedElement-invalid 
> input:nth-child(1)')
   span(:downarrow, class: 'oo-ui-indicatorElement-indicator 
oo-ui-indicator-down')
   a(:edit_ve, title: /Edit this page with VisualEditor/)
@@ -87,7 +87,7 @@
   checkbox(:minor_edit, id: 'wpMinoredit')
   div(:no_unused_fields, text: 'No unused fields')
   a(:new_link, class: 've-ce-linkAnnotation ve-ce-mwInternalLinkAnnotation 
new')
-  span(:options_categories, class: 'oo-ui-tool-title-text', text: 'Categories')
+  span(:options_categories, class: 'oo-ui-tool-title', text: 'Categories')
   span(:options_in_hamburger, class: 'oo-ui-tool-title', text: 'Options')
   span(:option_advanced_settings, class: 'oo-ui-tool-title', text: 'Advanced 
settings')
   span(:option_page_settings, class: 'oo-ui-tool-title', text: 'Page settings')

-- 
To view, visit https://gerrit.wikimedia.org/r/180336
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I41bde7245328303fcc8c5afea8f7228c1d36b915
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Ryasmeen <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to