end2end testcase for #844

This commit is contained in:
nanjekyejoannah 2016-08-04 13:47:14 +03:00
parent 4e93e04468
commit 04b007986f
2 changed files with 8 additions and 11 deletions

View File

@ -2,13 +2,10 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Navigate multiline links</title> <title>Navigate Multipline link</title>
</head> </head>
<body> <body>
<p>Test page</p> <p> page</p>
<a href="/data/navigate/prev.html">previous</a> <a href="/data/numbers/5.txt">next<br/>page</a>
<a href="/data/numbers/5.txt">mid</a>
<a href="/data/navigate/next.html">next</a>
</body>
</html> </html>

View File

@ -65,8 +65,8 @@ Feature: Using :navigate
And I open data/numbers/1.txt And I open data/numbers/1.txt
And I run :navigate increment And I run :navigate increment
Then the error "No number found in URL!" should be shown Then the error "No number found in URL!" should be shown
Scenario: navigate matching for multiline links Scenario: Navigating multiline links
when I open /data/navigate/multilinelinks.html When I open data/navigate/multilinelinks.html
And I run ]] And I run :navigate next
Then /data/numbers/5.txt should be loaded Then data/numbers/5.txt should be loaded