Merge branch 'lahwaacz-iframe_tests'

This commit is contained in:
Florian Bruhin 2016-06-06 23:32:56 +02:00
commit a107c644c6
2 changed files with 3 additions and 5 deletions

View File

@ -150,9 +150,9 @@ Contributors, sorted by the number of commits in descending order:
* Martin Tournoij
* Raphael Pierzina
* Joel Torstensson
* Jakub Klinkovský
* Tarcisio Fedrizzi
* Patric Schmitz
* Jakub Klinkovský
* Claude
* Corentin Julé
* meles5

View File

@ -108,15 +108,14 @@ Feature: Using hints
And the javascript message "boop!" should be logged
### iframes
### FIXME currenly skipped, see https://github.com/The-Compiler/qutebrowser/issues/1525
@xfail_norun
Scenario: Using :follow-hint inside an iframe
When I open data/hints/iframe.html
And I run :hint links normal
And I run :follow-hint a
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
Scenario: Using :follow-hint inside a scrolled iframe
When I open data/hints/iframe_scroll.html
@ -127,18 +126,17 @@ Feature: Using hints
And I run :follow-hint a
Then "acceptNavigationRequest, url http://localhost:*/data/hello2.txt, type NavigationTypeLinkClicked, *" should be logged
@xfail_norun
Scenario: Opening a link inside a specific iframe
When I open data/hints/iframe_target.html
And I run :hint links normal
And I run :follow-hint a
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
When I open data/hints/iframe_target.html
And I run :hint links tab
And I run :follow-hint a
And I wait until data/hello.txt is loaded
Then the following tabs should be open:
- data/hints/iframe_target.html
- data/hello.txt (active)