Cmcmahon has submitted this change and it was merged.
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(-)
Approvals:
Cmcmahon: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ia2903d8cacf0a2a82702c8b12aedbe94ff352dbc
Gerrit-PatchSet: 2
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Rachel99 <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits