hints: add verifications for iframe tests

This commit is contained in:
Jakub Klinkovský 2016-03-16 20:59:46 +01:00
parent d4ea62a834
commit 164df521c1

View File

@ -12,16 +12,14 @@ Feature: Using hints
### 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
Then "acceptNavigationRequest, url http://localhost:*/data/hello.txt, type NavigationTypeLinkClicked, *" should be logged
@xfail
Scenario: Using :follow-hint inside a scrolled iframe
When I open data/hints/iframe_scroll.html
And I run :hint all normal
@ -29,4 +27,4 @@ Feature: Using hints
And I run :scroll bottom
And I run :hint links normal
And I run :follow-hint a
Then data/hello2.txt should be loaded
Then "acceptNavigationRequest, url http://localhost:*/data/hello2.txt, type NavigationTypeLinkClicked, *" should be logged