Tobias Gritschacher has uploaded a new change for review.
https://gerrit.wikimedia.org/r/74604
Change subject: Adjustment to Selenium test due to language-fallback already in
place
......................................................................
Adjustment to Selenium test due to language-fallback already in place
Change-Id: I66b38d15f54182c5248dec47f3f8dd5436aa6653
---
M repo/tests/selenium/statements/statements_item_spec.rb
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/04/74604/1
diff --git a/repo/tests/selenium/statements/statements_item_spec.rb
b/repo/tests/selenium/statements/statements_item_spec.rb
index 44665b0..538de89 100644
--- a/repo/tests/selenium/statements/statements_item_spec.rb
+++ b/repo/tests/selenium/statements/statements_item_spec.rb
@@ -83,13 +83,13 @@
page.statement1ClaimValue1.include?(items[1]["id"]).should be_true
page.statement1ClaimValue1_element.click
page.wait_for_entity_to_load
- @browser.title.include?(ITEM_ID_PREFIX + items[1]["id"]).should be_true
+ @browser.title.include?( items[1]["label"]).should be_true
@browser.back
@browser.refresh
page.wait_for_entity_to_load
page.statement1Name_element.click
page.wait_for_entity_to_load
- @browser.title.include?(PROPERTY_ID_PREFIX +
properties_item[0]["id"]).should be_true
+ @browser.title.include?( properties_item[0]["label"]).should be_true
end
end
end
--
To view, visit https://gerrit.wikimedia.org/r/74604
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I66b38d15f54182c5248dec47f3f8dd5436aa6653
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Tobias Gritschacher <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits