Last modified: 2013-07-02 18:08:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50831, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48831 - uls-trigger element not at en.wikipedia.beta.wmflabs.org
uls-trigger element not at en.wikipedia.beta.wmflabs.org
Status: RESOLVED WONTFIX
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
: browser-test-bug
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-26 09:50 UTC by Željko Filipin
Modified: 2013-07-02 18:08 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
uls-trigger element not at en.wikipedia.beta.wmflabs.org (487.43 KB, image/png)
2013-05-26 09:50 UTC, Željko Filipin
Details

Description Željko Filipin 2013-05-26 09:50:37 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.
Comment 1 Antoine "hashar" Musso (WMF) 2013-06-28 10:34:28 UTC
Sending this bug to ULS component for folks there to investigate.
Comment 2 Siebrand Mazeland 2013-06-28 10:44:52 UTC
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.
Comment 3 Željko Filipin 2013-07-01 13:45:53 UTC
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
Comment 4 Gerrit Notification Bot 2013-07-01 13:49:05 UTC
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
Comment 5 Gerrit Notification Bot 2013-07-02 17:56:32 UTC
Change 71646 had a related patch set uploaded by Zfilipin:
Run "Open Language selector" scenario at test2

https://gerrit.wikimedia.org/r/71646
Comment 6 Gerrit Notification Bot 2013-07-02 17:57:24 UTC
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
Comment 7 Željko Filipin 2013-07-02 17:58:16 UTC
We are now running the test at test2:

https://gerrit.wikimedia.org/r/#/c/71646/
Comment 8 Željko Filipin 2013-07-02 18:00:01 UTC
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.
Comment 9 Chris McMahon 2013-07-02 18:07:28 UTC
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
Comment 10 Gerrit Notification Bot 2013-07-02 18:08:23 UTC
Change 71646 merged by Cmcmahon:
Run "Open Language selector" scenario at test2

https://gerrit.wikimedia.org/r/71646

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links