From c6b96d10e5a56ecdaeb9dd41a4b151c0baa6e0d7 Mon Sep 17 00:00:00 2001 From: Vikas S Yaligar Date: Mon, 28 Jul 2014 20:02:04 +0530 Subject: [PATCH] [BrowserTest] Save button locator now supports language screenshots Change-Id: Ib3b6c577aee3e8fa61f76f19a170e4cf5c76bf45 --- .../tests/browser/features/support/pages/visual_editor_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 681f740b80..ba5c175ff2 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 @@ -25,7 +25,7 @@ class VisualEditorPage a(:preformatted, text: /Preformatted/) 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, text: "Save page") + a(:save_page, css: "div.ve-init-mw-viewPageTarget-toolbar-actions > div.oo-ui-flaggableElement-constructive > a") a(:subheading1, text: /Sub-heading 1/) a(:subheading2, text: /Sub-heading 2/) a(:subheading3, text: /Sub-heading 3/)