Thiemo Mättig (WMDE) has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/334671 )
Change subject: Add browser test for backspace bug in valueview
......................................................................
Add browser test for backspace bug in valueview
Change-Id: I0066941dc299b06b984e3f69422cedcfe321c71e
Depends-on: Ide37d348563959a866137a6a038158edd51ac17e
---
M tests/browser/features/statements_quantity.feature
1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/71/334671/1
diff --git a/tests/browser/features/statements_quantity.feature
b/tests/browser/features/statements_quantity.feature
index 4b6dd21..d7ba101 100644
--- a/tests/browser/features/statements_quantity.feature
+++ b/tests/browser/features/statements_quantity.feature
@@ -41,6 +41,19 @@
| astring |
| 1:1 |
+ @ui_only
+ Scenario: Valueview parser state resets properly
+ Given I am on an item page
+ And The copyright warning has been dismissed
+ And Anonymous edit warnings are disabled
+ When I click the statement add button
+ And I select the claim property quantprop
+ # This specific sequence triggers a bug in the valueview's internal
state management
+ And I enter 1 in the claim value input field
+ And I enter 1+ in the claim value input field
+ And I enter 1 in the claim value input field
+ Then Statement save button should be there
+
@modify_entity
Scenario Outline: Quantity parser and saving should work properly
Given I am logged in to the repo
--
To view, visit https://gerrit.wikimedia.org/r/334671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0066941dc299b06b984e3f69422cedcfe321c71e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits