Fix end2end tests
This commit is contained in:
parent
2c98b837d5
commit
713a74cfd4
@ -154,11 +154,11 @@ Feature: Downloading things from a website.
|
|||||||
|
|
||||||
Scenario: :download with deprecated dest-old argument
|
Scenario: :download with deprecated dest-old argument
|
||||||
When I run :download http://localhost:(port)/ deprecated-argument
|
When I run :download http://localhost:(port)/ deprecated-argument
|
||||||
Then the warning ":download [url] [dest] is deprecated - use download --dest [dest] [url]" should be shown
|
Then the warning ":download [url] [dest] is deprecated - use :download --dest [dest] [url]" should be shown
|
||||||
|
|
||||||
Scenario: Two destinations given
|
Scenario: Two destinations given
|
||||||
When I run :download --dest destination2 http://localhost:(port)/ destination1
|
When I run :download --dest destination2 http://localhost:(port)/ destination1
|
||||||
Then the warning ":download [url] [dest] is deprecated - use download --dest [dest] [url]" should be shown
|
Then the warning ":download [url] [dest] is deprecated - use :download --dest [dest] [url]" should be shown
|
||||||
And the error "Can't give two destinations for the download." should be shown
|
And the error "Can't give two destinations for the download." should be shown
|
||||||
|
|
||||||
Scenario: :download --mhtml with a URL given
|
Scenario: :download --mhtml with a URL given
|
||||||
|
@ -499,7 +499,7 @@ Feature: Various utility commands.
|
|||||||
Scenario: Using :debug-log-capacity
|
Scenario: Using :debug-log-capacity
|
||||||
When I run :debug-log-capacity 100
|
When I run :debug-log-capacity 100
|
||||||
And I run :message-info oldstuff
|
And I run :message-info oldstuff
|
||||||
And I run :repeat 10 :message-info otherstuff
|
And I run :repeat 20 :message-info otherstuff
|
||||||
And I run :message-info newstuff
|
And I run :message-info newstuff
|
||||||
And I open qute:log
|
And I open qute:log
|
||||||
Then the page should contain the plaintext "newstuff"
|
Then the page should contain the plaintext "newstuff"
|
||||||
|
Loading…
Reference in New Issue
Block a user