1@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration @test2.wikipedia.org 2Feature: Navigation 3 4 Background: 5 Given I am viewing an image using MMV 6 7 Scenario: Clicking the next arrow takes me to the next image 8 When I click the next arrow 9 Then the image and metadata of the next image should appear 10 11 Scenario: Clicking the previous arrow takes me to the previous image 12 When I click the previous arrow 13 Then the image and metadata of the previous image should appear 14 15 Scenario: Closing MMV restores the scroll position 16 When I close MMV 17 Then I should be navigated back to the original wiki article 18 And the wiki article should be scrolled to the same position as before opening MMV 19 20 Scenario: Browsing back to close MMV restores the scroll position 21 When I press the browser back button 22 Then I should be navigated back to the original wiki article 23 And the wiki article should be scrolled to the same position as before opening MMV 24