Cmcmahon has uploaded a new change for review.

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

Change subject: [BrowserTest] WIP: create new test for Cite tool
......................................................................

[BrowserTest] WIP: create new test for Cite tool

Change-Id: Ibc06377fa28bef53a5f8ca734026a4485888e0ad
---
A modules/ve-mw/tests/browser/features/cite.feature
1 file changed, 42 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/55/150055/1

diff --git a/modules/ve-mw/tests/browser/features/cite.feature 
b/modules/ve-mw/tests/browser/features/cite.feature
new file mode 100644
index 0000000..82387a2
--- /dev/null
+++ b/modules/ve-mw/tests/browser/features/cite.feature
@@ -0,0 +1,42 @@
+@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
+Feature: VisualEditor Cite
+
+  Background:
+    Given I go to the "Cite VisualEditor Test" page with content "Cite 
VisualEditor Test"
+    And I click in the editable part
+    And I click the Cite button
+    And I can see the Cite User Inteface
+
+  Scenario: Website
+    When I click Website
+      And I fill in URL
+      And I fill in Source title
+      And I fill in Source data
+      And I fill in URL Access date
+      And I click Add more information
+      And I type in a field name
+      And I see Show more fields
+      And I fill in the new field
+      And I click Insert Citation
+      And I click Save page
+      And I click Review your changes
+    Then diff view should show the Website citation added
+
+  Scenario: Book
+    When I click Book
+      And I fill in Title
+      And I fill in Last name
+      And I fill in First name
+      And I fill in Publisher
+      And I fill in Year of publication
+      And I fill in ISBN
+      And I fill in Location of publication
+      And I fill in Pages
+      And I click Add more information
+      And I type in a field name
+      And I see Show more fields
+      And I fill in the new field
+      And I click Insert Citation
+      And I click Save page
+      And I click Review your changes
+    Then diff view should show the citation added
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc06377fa28bef53a5f8ca734026a4485888e0ad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>

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

Reply via email to