Add hints integration test

This commit is contained in:
Kevin Velghe 2016-03-30 23:53:18 +02:00
parent 00f1e699d4
commit 0432ba68c6

View File

@ -20,7 +20,7 @@ Feature: Using hints
Then the error "No hint xyz!" should be shown Then the error "No hint xyz!" should be shown
Scenario: Following a hint and force to open in current tab. Scenario: Following a hint and force to open in current tab.
When I open data/hints/link.html When I open data/hints/link_blank.html
And I run :hint links current And I run :hint links current
And I run :follow-hint a And I run :follow-hint a
And I wait until data/hello.txt is loaded And I wait until data/hello.txt is loaded
@ -35,3 +35,12 @@ Feature: Using hints
Then the following tabs should be open: Then the following tabs should be open:
- data/hints/link_blank.html - data/hints/link_blank.html
- data/hello.txt (active) - data/hello.txt (active)
Scenario: Following a hint to link with sub-element and force to open in current tab.
When I open data/hints/link_span.html
And I run :tab-close
And I run :hint links current
And I run :follow-hint a
And I wait until data/hello.txt is loaded
Then the following tabs should be open:
- data/hello.txt (active)