Open
Bug 1049082
Opened 9 years ago
Updated 3 years ago
Page markup for the watch notification message differs between dev and staging/prod
Categories
(Websites :: wiki.mozilla.org, defect)
Websites
wiki.mozilla.org
Tracking
(Not tracked)
NEW
People
(Reporter: bsilverberg, Assigned: spike)
References
()
Details
(Whiteboard: [fromAutomation])
One of our automated tests for the wiki has started failing when run against dev [1] because the markup differs between dev and stage [2] for the message that is displayed when watching and unwatching a page. Perhaps this difference stems from the two sites running different versions of MediaWiki? I would like to resolve this issue and get the test passing on both dev and staging again, but I am not sure how to best address it. Is it expected that stage will be updated to have similar behaviour to dev in the near future? [1] https://wiki-dev.allizom.org/ [2] https://wiki.allizom.org/
Reporter | ||
Comment 1•9 years ago
|
||
The same question stands for prod as well, as we run our tests on all three environments.
Reporter | ||
Updated•9 years ago
|
Summary: Page markup for the watch notification message differs between dev and staging → Page markup for the watch notification message differs between dev and staging/prod
Reporter | ||
Comment 2•9 years ago
|
||
For future reference, the change that needs to be made to support the markup on dev is in /pages/watch_page.py and is: - _watchlist_message_locator = (By.CSS_SELECTOR, 'div.mw-js-message-ajaxwatch > p') + _watchlist_message_locator = (By.CSS_SELECTOR, 'div.mw-notification-tag-watch-self')
Updated•9 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 3•9 years ago
|
||
We're in the middle of upgrading Mozilla Wiki to the most current version of Mediawiki (1.23 branch). Dev has been updated to 1.23 and we're testing it now. Stage and production will be made to match Dev once we've completed upgrading and testing Dev. Also note that as part of this upgrade, we'll be changing the default theme of the wiki to Vector (from GMO). This might change some of the rendered css which might affect your tests.
Depends on: 1032351
Reporter | ||
Comment 4•9 years ago
|
||
Thanks for the update :ckoehler :) I will leave this bug open as a reminder to update the test when the changes make it to staging and production.
Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)
Assignee | ||
Comment 6•3 years ago
|
||
Not sure if this was ever resolved or not - but we are currently trying to migrate from mediawiki version 1.27 to version 1.31 (and then probably 1.35 which is due to be released in August 2020).
Adding self as assignee to keep this bug visible.
Spike
Assignee: nobody → spike
You need to log in
before you can comment on or make changes to this bug.
Description
•