Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79807
Change subject: Whitespace cleanup of Cucumber feature file
......................................................................
Whitespace cleanup of Cucumber feature file
Change-Id: Ice8eee56b19a3f524fea916f91be886b0ad94c1a
---
M selenium_cuc/features/label.feature
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/07/79807/1
diff --git a/selenium_cuc/features/label.feature
b/selenium_cuc/features/label.feature
index d5d3864..50b3046 100644
--- a/selenium_cuc/features/label.feature
+++ b/selenium_cuc/features/label.feature
@@ -14,17 +14,20 @@
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there
+
Scenario: Click edit button
When I click the label edit button
Then Label input element should be there
And Label input element should contain original label
And Label cancel button should be there
+
Scenario: Modify the label
When I click the label edit button
And I enter MODIFIED LABEL as label
Then Label save button should be there
And Label cancel button should be there
And Label edit button should not be there
+
Scenario: Label cancel
When I click the label edit button
And I enter MODIFIED LABEL as label
@@ -32,6 +35,7 @@
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there
+
Scenario: Label cancel with ESCAPE
When I click the label edit button
And I enter MODIFIED LABEL as label
@@ -39,6 +43,7 @@
Then Original label should be displayed
And Label edit button should be there
And Label cancel button should not be there
+
Scenario: Label save
When I click the label edit button
And I enter MODIFIED LABEL as label
@@ -46,6 +51,7 @@
Then MODIFIED LABEL should be displayed as label
When I reload the page
Then MODIFIED LABEL should be displayed as label
+
Scenario: Label save with RETURN
When I click the label edit button
And I enter MODIFIED LABEL as label
@@ -53,16 +59,19 @@
Then MODIFIED LABEL should be displayed as label
When I reload the page
Then MODIFIED LABEL should be displayed as label
+
Scenario: Label with unnormalized value
When I click the label edit button
And I enter bla bla as label
And I click the label save button
Then bla bla should be displayed as label
+
Scenario: Label with "0" as value
When I click the label edit button
And I enter 0 as label
And I click the label save button
Then 0 should be displayed as label
+
Scenario: Label with a too long value
When I click the label edit button
And I enter
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
as label
--
To view, visit https://gerrit.wikimedia.org/r/79807
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice8eee56b19a3f524fea916f91be886b0ad94c1a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits