mediawiki-extensions-Multim.../tests/browser
Gilles Dubuc 09374fc9dd Restore article scroll after closing Media Viewer
There used to be a CSS trick with the order we added things to the
page and removed them from it, but it doesn't seem possible anymore
with the new order of execution, with the overlay appearing
immediately and being taken care of inside bootstrap.

The main cause of the bug, however, was the hash reset happening
after the interface was closed.

Doing the scroll restore with jQuery.scrollTo is more future-proof
and testable in QUnit.

Additions were also made to the cucumber E2E test because QUnit
alone wouldn't have caught the hash issue.

This also cleans up custom events a little and reintroduces
pushState on browsers that support the history API.

Change-Id: I63187383b632a2e8793f05380c18db2713856865
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/439
Bug: 63892
2014-04-14 18:04:30 +00:00
..
features Restore article scroll after closing Media Viewer 2014-04-14 18:04:30 +00:00
Gemfile Updated Ruby version from 2.1.0 to 2.1.1 2014-03-04 08:56:04 +05:30
Gemfile.lock Cloudbees Jenkins jobs are now created using Jenkins Job Builder 2014-02-24 16:46:20 +00:00
README.md Added basic readme file to test/browser folder 2014-02-10 15:58:01 +01:00

Please see https://github.com/wikimedia/mediawiki-selenium for instructions on how to run tests.