hints: add xfailed tests for hinting inside iframes
This commit is contained in:
parent
b1207650b0
commit
d4ea62a834
11
tests/integration/data/hints/iframe.html
Normal file
11
tests/integration/data/hints/iframe.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Hinting inside an iframe</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe style="margin: 50px;" src="/data/hints/html/wrapped.html"></iframe>
|
||||
</body>
|
||||
</html>
|
11
tests/integration/data/hints/iframe_scroll.html
Normal file
11
tests/integration/data/hints/iframe_scroll.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Scrolling inside an iframe</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe style="margin: 50px;" src="/data/scroll.html"></iframe>
|
||||
</body>
|
||||
</html>
|
@ -9,3 +9,24 @@ Feature: Using hints
|
||||
And I run :hint links normal
|
||||
And I run :follow-hint xyz
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user