Re-enable testing bar clicking

Change-Id: I23f192cf47e2ff94521733f8b1b056152d5ad0fe
This commit is contained in:
WMDE-Fisch 2018-08-14 09:09:26 +02:00
parent b6195eba41
commit af276e0f7f
2 changed files with 22 additions and 20 deletions

View file

@ -15,8 +15,12 @@
# bundle exec cucumber
#
mw-vagrant-host: &default
mediawiki_url: http://127.0.0.1:8080/wiki/
mediawiki_url: http://en.mediawiki.localhost/index.php/
mediawiki_api_url: http://en.mediawiki.localhost/api.php
user_factory: true
mediawiki_user: Tester
mediawiki_password: test
mw-vagrant-guest:
mediawiki_url: http://127.0.0.1/wiki/
@ -27,4 +31,4 @@ integration:
user_factory: true
# mediawiki_url: THIS WILL BE SET BY JENKINS
default: *default
default: *default

View file

@ -3,24 +3,22 @@ Feature: RevisionSlider history
Background:
Given a page with 4 revision(s) exists
# Deactivated until bar clicking will be reintroduced see T165831
#
# Scenario: RevisionSlider history can be accessed using browser back and forward buttons after clicking on a revision
# When I have loaded the RevisionSlider and dismissed the help dialog
# And I click on revision 1 to move the older pointer
# And I wait until the diff has loaded
# And I click on revision 2 to move the newer pointer
# And I wait until the diff has loaded
# And I click the browser back button
# And I wait until the diff has loaded
# And I click the browser back button
# And I wait until the diff has loaded
# And I click the browser forward button
# And I wait until the diff has loaded
# Then the older pointer should be on revision 1
# And the newer pointer should be on revision 4
# And revision 1 should be loaded on the left of the diff
# And revision 4 should be loaded on the right of the diff
Scenario: RevisionSlider history can be accessed using browser back and forward buttons after clicking on a revision
When I have loaded the RevisionSlider and dismissed the help dialog
And I click on revision 1 to move the older pointer
And I wait until the diff has loaded
And I click on revision 2 to move the newer pointer
And I wait until the diff has loaded
And I click the browser back button
And I wait until the diff has loaded
And I click the browser back button
And I wait until the diff has loaded
And I click the browser forward button
And I wait until the diff has loaded
Then the older pointer should be on revision 1
And the newer pointer should be on revision 4
And revision 1 should be loaded on the left of the diff
And revision 4 should be loaded on the right of the diff
Scenario: RevisionSlider history can be accessed using browser back and forward buttons after dragging to a revision
When I have loaded the RevisionSlider and dismissed the help dialog