Add test for downloading to an inexistent dir
This commit is contained in:
parent
ab30124bd0
commit
b5b46332c7
@ -135,6 +135,10 @@ Feature: Downloading things from a website.
|
|||||||
When I run :download --mhtml http://foobar/
|
When I run :download --mhtml http://foobar/
|
||||||
Then the error "Can only download the current page as mhtml." should be shown
|
Then the error "Can only download the current page as mhtml." should be shown
|
||||||
|
|
||||||
|
Scenario: :download with a directory which doesn't exist
|
||||||
|
When I run :download --dest (tmpdir)/somedir/filename http://localhost:(port)/
|
||||||
|
Then the error "Download error: No such file or directory" should be shown
|
||||||
|
|
||||||
## mhtml downloads
|
## mhtml downloads
|
||||||
|
|
||||||
Scenario: Downloading as mhtml is available
|
Scenario: Downloading as mhtml is available
|
||||||
|
Loading…
Reference in New Issue
Block a user