Merge branch 'iframe_tests' of https://github.com/lahwaacz/qutebrowser into lahwaacz-iframe_tests
This commit is contained in:
commit
b635d10836
@ -108,15 +108,14 @@ Feature: Using hints
|
|||||||
And the javascript message "boop!" should be logged
|
And the javascript message "boop!" should be logged
|
||||||
|
|
||||||
### iframes
|
### iframes
|
||||||
### FIXME currenly skipped, see https://github.com/The-Compiler/qutebrowser/issues/1525
|
|
||||||
|
|
||||||
@xfail_norun
|
|
||||||
Scenario: Using :follow-hint inside an iframe
|
Scenario: Using :follow-hint inside an iframe
|
||||||
When I open data/hints/iframe.html
|
When I open data/hints/iframe.html
|
||||||
And I run :hint links normal
|
And I run :hint links normal
|
||||||
And I run :follow-hint a
|
And I run :follow-hint a
|
||||||
Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
||||||
|
|
||||||
|
### FIXME currenly skipped, see https://github.com/The-Compiler/qutebrowser/issues/1525
|
||||||
@xfail_norun
|
@xfail_norun
|
||||||
Scenario: Using :follow-hint inside a scrolled iframe
|
Scenario: Using :follow-hint inside a scrolled iframe
|
||||||
When I open data/hints/iframe_scroll.html
|
When I open data/hints/iframe_scroll.html
|
||||||
@ -127,18 +126,17 @@ Feature: Using hints
|
|||||||
And I run :follow-hint a
|
And I run :follow-hint a
|
||||||
Then "acceptNavigationRequest, url http://localhost:*/data/hello2.txt, type NavigationTypeLinkClicked, *" should be logged
|
Then "acceptNavigationRequest, url http://localhost:*/data/hello2.txt, type NavigationTypeLinkClicked, *" should be logged
|
||||||
|
|
||||||
@xfail_norun
|
|
||||||
Scenario: Opening a link inside a specific iframe
|
Scenario: Opening a link inside a specific iframe
|
||||||
When I open data/hints/iframe_target.html
|
When I open data/hints/iframe_target.html
|
||||||
And I run :hint links normal
|
And I run :hint links normal
|
||||||
And I run :follow-hint a
|
And I run :follow-hint a
|
||||||
Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
|
||||||
|
|
||||||
@xfail_norun
|
|
||||||
Scenario: Opening a link with specific target frame in a new tab
|
Scenario: Opening a link with specific target frame in a new tab
|
||||||
When I open data/hints/iframe_target.html
|
When I open data/hints/iframe_target.html
|
||||||
And I run :hint links tab
|
And I run :hint links tab
|
||||||
And I run :follow-hint a
|
And I run :follow-hint a
|
||||||
|
And I wait until data/hello.txt is loaded
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- data/hints/iframe_target.html
|
- data/hints/iframe_target.html
|
||||||
- data/hello.txt (active)
|
- data/hello.txt (active)
|
||||||
|
Loading…
Reference in New Issue
Block a user