Daniel Werner has submitted this change and it was merged.

Change subject: Adjusting selenium test to entity selector search box
......................................................................


Adjusting selenium test to entity selector search box

With Ic70e323c118ed066c7846de57651076865106b2d, a separate entity selector is 
present on every
page that needs to be filtered out in the selenium tests.

Change-Id: I3f4c447a8e5024870698f65d3d7d2846e920ff1d
---
M selenium/lib/modules/entity_selector_module.rb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Daniel Werner: Verified; Looks good to me, approved



diff --git a/selenium/lib/modules/entity_selector_module.rb 
b/selenium/lib/modules/entity_selector_module.rb
index 125e2fa..0c8b02a 100644
--- a/selenium/lib/modules/entity_selector_module.rb
+++ b/selenium/lib/modules/entity_selector_module.rb
@@ -13,7 +13,7 @@
   link(:firstEntitySelectorLink, :xpath => "//ul[contains(@class, 
'ui-entityselector-list')]/li/a")
   span(:firstEntitySelectorLabel, :xpath => "//ul[contains(@class, 
'ui-entityselector-list')]/li/a/span/span[contains(@class, 
'ui-entityselector-label')]")
   span(:firstEntitySelectorDescription, :xpath => "//ul[contains(@class, 
'ui-entityselector-list')]/li/a/span/span[contains(@class, 
'ui-entityselector-description')]")
-  text_field(:entitySelectorInput, :xpath => "//input[contains(@class, 
'ui-entityselector-input')]")
+  text_field(:entitySelectorInput, :xpath => "//div[contains(@class, 
'wb-claims-section')]//input[contains(@class, 'ui-entityselector-input')]")
 
   def wait_for_entity_selector_list
     wait_until do

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3f4c447a8e5024870698f65d3d7d2846e920ff1d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>

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

Reply via email to