qutebrowser/tests/integration/features/hints.feature

33 lines
1.1 KiB
Gherkin
Raw Normal View History

2015-11-09 18:17:13 +01:00
Feature: Using hints
Scenario: Using :follow-hint outside of hint mode (issue 1105)
When I run :follow-hint
2015-11-26 17:50:39 +01:00
Then the error "follow-hint: This command is only allowed in hint mode." should be shown
2015-11-09 18:17:13 +01:00
Scenario: Using :follow-hint with an invalid index.
When I open data/hints/html/simple.html
2015-11-09 18:17:13 +01:00
And I run :hint links normal
And I run :follow-hint xyz
2015-11-26 17:50:39 +01:00
Then the error "No hint xyz!" should be shown
### iframes
@xfail
Scenario: Using :follow-hint inside an iframe
When I open data/hints/iframe.html
And I run :hint all normal
And I run :follow-hint a
And I run :hint links normal
And I run :follow-hint a
Then data/hello.txt should be loaded
@xfail
Scenario: Using :follow-hint inside a scrolled iframe
When I open data/hints/iframe_scroll.html
And I run :hint all normal
And I run :follow-hint a
And I run :scroll bottom
And I run :hint links normal
And I run :follow-hint a
Then data/hello2.txt should be loaded