Add hints integration test
This commit is contained in:
parent
00f1e699d4
commit
0432ba68c6
@ -20,7 +20,7 @@ Feature: Using hints
|
||||
Then the error "No hint xyz!" should be shown
|
||||
|
||||
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 :follow-hint a
|
||||
And I wait until data/hello.txt is loaded
|
||||
@ -35,3 +35,12 @@ Feature: Using hints
|
||||
Then the following tabs should be open:
|
||||
- data/hints/link_blank.html
|
||||
- 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)
|
||||
|
Loading…
Reference in New Issue
Block a user