Stabilize rapid hinting test more

This commit is contained in:
Florian Bruhin 2016-11-14 10:52:30 +01:00
parent cd3305b4dd
commit 81e8421f62

View File

@ -113,7 +113,7 @@ Feature: Using hints
Then the clipboard should contain "http://localhost:(port)/data/hello.txt"
Scenario: Rapid hinting
When I open data/hints/rapid.html
When I open data/hints/rapid.html in a new tab
And I run :tab-only
And I hint with args "all tab-bg --rapid"
And I run :follow-hint a
@ -121,10 +121,17 @@ Feature: Using hints
And I run :leave-mode
And I wait until data/hello.txt is loaded
And I wait until data/hello2.txt is loaded
Then the following tabs should be open:
- data/hints/rapid.html (active)
- data/hello.txt
- data/hello2.txt
# We should check what the active tab is, but for some reason that makes
# the test flaky
Then the session should look like:
windows:
- tabs:
- history:
- url: http://localhost:*/data/hints/rapid.html
- history:
- url: http://localhost:*/data/hello.txt
- history:
- url: http://localhost:*/data/hello2.txt
Scenario: Using hint --rapid to hit multiple buttons
When I open data/hints/buttons.html