Last modified: 2013-07-02 18:08:23 UTC
Created attachment 12397 [details] uls-trigger element not at en.wikipedia.beta.wmflabs.org The element is visible at sandbox.translatewiki.net, but not at en.wikipedia.beta.wmflabs.org. We have a failing Selenium test that checks if the "select language" popup appears when the element is clicked. Take a look at attached screenshot.
Sending this bug to ULS component for folks there to investigate.
There is no bug here, so this should go back to the testing component. It seems like there may be confusion over which configuration should display which behavior. The ULS can be visible in two ways: In the sidebar as an icon that looks like a gear for wikis with language versions, like Wikipedia, or in the personal toolbar at the top of wiki pages for wikis without language versions, like Wikimedia Commons and Meta-Wiki. Clicking the icon opens the Language settings panel that can be used to set the display and input settings. Based on the geographic location of users, the initial set of language preferences is presented. Users can set the input methods and fonts to that they want to use. Logged-in users can also change the language for the MediaWiki menu items. sandbox.translatewiki.net has the configuration for the personal toolbar posistion. labs.en.wp has an interlanguage position for the ULS trigger.
As far as I understand it, the feature is not enabled at en.wikipedia.beta.wmflabs.org on purpose. Since we plan to stop running tests at sandbox.translatewiki.net, I propose that we delete the test. Chris what do you think? Test results: # sandbox.translatewiki.net $ export MEDIAWIKI_URL=http://sandbox.translatewiki.net/wiki/ $ bundle exec cucumber features/uls.feature:4 Using the default profile... ... 1 scenario (1 passed) 3 steps (3 passed) 0m8.148s # en.wikipedia.beta.wmflabs.org $ export MEDIAWIKI_URL=http://en.wikipedia.beta.wmflabs.org/wiki/ $ bundle exec cucumber features/uls.feature:4 Using the default profile... .F- (::) failed steps (::) unable to locate element, using {:class=>"uls-trigger", :tag_name=>"a"} (Watir::Exception::UnknownObjectException) (eval):1:in `process_watir_call' ./features/step_definitions/uls_steps.rb:2:in `/^I click language selector trigger element$/' features/uls.feature:6:in `When I click language selector trigger element' Failing Scenarios: cucumber features/uls.feature:4 # Scenario: Open Language selector 1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m8.211s
Change 71347 had a related patch set uploaded by Zfilipin: Deleted test for a feature that is not enabled at beta https://gerrit.wikimedia.org/r/71347
Change 71646 had a related patch set uploaded by Zfilipin: Run "Open Language selector" scenario at test2 https://gerrit.wikimedia.org/r/71646
Change 71347 abandoned by Zfilipin: Deleted test for a feature that is not enabled at beta Reason: Replaced with https://gerrit.wikimedia.org/r/#/c/71646/ https://gerrit.wikimedia.org/r/71347
We are now running the test at test2: https://gerrit.wikimedia.org/r/#/c/71646/
Siebrand, are you saying en.wikipedia.beta.wmflabs.org is configured correctly, so there is nothing for Antoine to do? If that is the case, feel free to resolve the bug.
Either ULS "cog" or element "uls-trigger" is enabled, but not both. See http://www.mediawiki.org/wiki/Universal_Language_Selector/Testing#Location_for_the_Selector
Change 71646 merged by Cmcmahon: Run "Open Language selector" scenario at test2 https://gerrit.wikimedia.org/r/71646