Rachel99 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/74631


Change subject: check wikisource text to ensure source editor is opened
......................................................................

check wikisource text to ensure source editor is opened

Change-Id: Ia2903d8cacf0a2a82702c8b12aedbe94ff352dbc
---
M features/step_definitions/visual_editor_steps.rb
M features/visual_editor.feature
2 files changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/31/74631/1

diff --git a/features/step_definitions/visual_editor_steps.rb 
b/features/step_definitions/visual_editor_steps.rb
index 15a2361..72b2bb6 100644
--- a/features/step_definitions/visual_editor_steps.rb
+++ b/features/step_definitions/visual_editor_steps.rb
@@ -55,3 +55,7 @@
 Then(/^Page text should contain the string$/) do
   on(VisualEditorPage).page_text_element.when_present.text.should match 
Regexp.escape("Editing with #{@does_not_exist_page_name}")
 end
+
+Then(/^textbox with wikisource appears$/) do
+ on(EditPage).article_text_element.should exist
+end
diff --git a/features/visual_editor.feature b/features/visual_editor.feature
index 27f310e..f659bbf 100644
--- a/features/visual_editor.feature
+++ b/features/visual_editor.feature
@@ -6,7 +6,8 @@
     When I am at random page
       And I click the Edit link on the wiki page
     Then Edit Source page should open
-
+       And textbox with wikisource appears
+   
   @login
   Scenario: Basic edit
     Given I am logged in

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2903d8cacf0a2a82702c8b12aedbe94ff352dbc
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Rachel99 <[email protected]>

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

Reply via email to