tests: Move data/scroll.html to data/scroll/simple
This commit is contained in:
parent
e7584b9e1e
commit
c12aeea670
@ -6,6 +6,6 @@
|
||||
<title>Scrolling inside an iframe</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe style="margin: 50px;" src="/data/scroll.html"></iframe>
|
||||
<iframe style="margin: 50px;" src="/data/scroll/simple.html"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -488,7 +488,7 @@ Feature: Various utility commands.
|
||||
Then the page should contain the plaintext "Local storage status: not working"
|
||||
|
||||
Scenario: :repeat-command
|
||||
Given I open data/scroll.html
|
||||
Given I open data/scroll/simple.html
|
||||
And I run :tab-only
|
||||
When I run :scroll down
|
||||
And I run :repeat-command
|
||||
@ -496,7 +496,7 @@ Feature: Various utility commands.
|
||||
Then the page should be scrolled vertically
|
||||
|
||||
Scenario: :repeat-command with count
|
||||
Given I open data/scroll.html
|
||||
Given I open data/scroll/simple.html
|
||||
And I run :tab-only
|
||||
When I run :scroll down with count 3
|
||||
And I run :scroll up
|
||||
@ -504,7 +504,7 @@ Feature: Various utility commands.
|
||||
Then the page should not be scrolled
|
||||
|
||||
Scenario: :repeat-command with not-normal command inbetween
|
||||
Given I open data/scroll.html
|
||||
Given I open data/scroll/simple.html
|
||||
And I run :tab-only
|
||||
When I run :scroll down with count 3
|
||||
And I run :scroll up
|
||||
|
@ -2,7 +2,7 @@ Feature: Scrolling
|
||||
Tests the various scroll commands.
|
||||
|
||||
Background:
|
||||
Given I open data/scroll.html
|
||||
Given I open data/scroll/simple.html
|
||||
And I run :tab-only
|
||||
|
||||
## :scroll-px
|
||||
|
@ -863,13 +863,13 @@ Feature: Tab management
|
||||
Scenario: :buffer with a matching title
|
||||
When I open data/title.html
|
||||
And I open data/search.html in a new tab
|
||||
And I open data/scroll.html in a new tab
|
||||
And I open data/scroll/simple.html in a new tab
|
||||
And I run :buffer "Searching text"
|
||||
And I wait for "Current tab changed, focusing <qutebrowser.browser.* tab_id=* url='http://localhost:*/data/search.html'>" in the log
|
||||
Then the following tabs should be open:
|
||||
- data/title.html
|
||||
- data/search.html (active)
|
||||
- data/scroll.html
|
||||
- data/scroll/simple.html
|
||||
|
||||
Scenario: :buffer with no matching title
|
||||
When I run :buffer "invalid title"
|
||||
@ -878,11 +878,11 @@ Feature: Tab management
|
||||
Scenario: :buffer with matching title and two windows
|
||||
When I open data/title.html
|
||||
And I open data/search.html in a new tab
|
||||
And I open data/scroll.html in a new tab
|
||||
And I open data/scroll/simple.html in a new tab
|
||||
And I open data/caret.html in a new window
|
||||
And I open data/paste_primary.html in a new tab
|
||||
And I run :buffer "Scrolling"
|
||||
And I wait for "Focus object changed: <qutebrowser.browser.* tab_id=* url='http://localhost:*/data/scroll.html'>" in the log
|
||||
And I wait for "Focus object changed: <qutebrowser.browser.* tab_id=* url='http://localhost:*/data/scroll/simple.html'>" in the log
|
||||
Then the session should look like:
|
||||
windows:
|
||||
- active: true
|
||||
@ -894,7 +894,7 @@ Feature: Tab management
|
||||
- url: http://localhost:*/data/search.html
|
||||
- active: true
|
||||
history:
|
||||
- url: http://localhost:*/data/scroll.html
|
||||
- url: http://localhost:*/data/scroll/simple.html
|
||||
- tabs:
|
||||
- history:
|
||||
- url: http://localhost:*/data/caret.html
|
||||
@ -916,7 +916,7 @@ Feature: Tab management
|
||||
Given I have a fresh instance
|
||||
When I open data/title.html
|
||||
And I open data/search.html in a new tab
|
||||
And I open data/scroll.html in a new tab
|
||||
And I open data/scroll/simple.html in a new tab
|
||||
And I run :open -w http://localhost:(port)/data/caret.html
|
||||
And I open data/paste_primary.html in a new tab
|
||||
And I wait until data/caret.html is loaded
|
||||
@ -933,7 +933,7 @@ Feature: Tab management
|
||||
history:
|
||||
- url: http://localhost:*/data/search.html
|
||||
- history:
|
||||
- url: http://localhost:*/data/scroll.html
|
||||
- url: http://localhost:*/data/scroll/simple.html
|
||||
- tabs:
|
||||
- history:
|
||||
- url: http://localhost:*/data/caret.html
|
||||
|
Loading…
Reference in New Issue
Block a user