qutebrowser/tests/integration/features/backforward.feature
Florian Bruhin 5ed419c7f5 Make reloading more reliable.
Before, we didn't wait until the reload is done, which could lead to a race
condition.
2015-11-01 22:47:58 +01:00

26 lines
822 B
Gherkin

Feature: Going back and forward.
Testing the :back/:forward commands.
Scenario: Going back/forward
Given I open data/backforward/1.txt
When I open data/backforward/2.txt
And I run :back
And I reload
And I run :forward
And I reload
Then the requests should be:
data/backforward/1.txt
data/backforward/2.txt
data/backforward/1.txt
data/backforward/2.txt
# Scenario: Going back without history
# Given I open data/backforward/1.txt
# When I run :back
# Then the error "At beginning of history." should be shown.
#
# Scenario: Going forward without history
# Given I open data/backforward/1.txt
# When I run :forward
# Then the error "At end of history." should be shown.