From e4be834b395efdbbee0af8b0c4c240ea047beb66 Mon Sep 17 00:00:00 2001 From: Panagiotis K Date: Wed, 15 Nov 2017 09:51:05 +0200 Subject: [PATCH] Platform-agnostic test. --- tests/end2end/features/downloads.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature index 7648ad888..69f47603b 100644 --- a/tests/end2end/features/downloads.feature +++ b/tests/end2end/features/downloads.feature @@ -256,14 +256,14 @@ Feature: Downloading things from a website. Then the error "Can only download the current page as mhtml." should be shown Scenario: :download with a filename and directory which doesn't exist - When I run :download --dest (tmpdir)/downloads/somedir/file http://localhost:(port)/data/downloads/download.bin + When I run :download --dest (tmpdir)(dirsep)downloads(dirsep)somedir(dirsep)file http://localhost:(port)/data/downloads/download.bin And I wait for "Asking question text='* does not exist. Create it?' title='Create directory?'>, *" in the log And I run :prompt-accept yes And I wait until the download is finished Then the downloaded file somedir/file should exist Scenario: :download with a directory which doesn't exist - When I run :download --dest (tmpdir)/downloads/somedir/ http://localhost:(port)/data/downloads/download.bin + When I run :download --dest (tmpdir)(dirsep)downloads(dirsep)somedir(dirsep) http://localhost:(port)/data/downloads/download.bin And I wait for "Asking question text='* does not exist. Create it?' title='Create directory?'>, *" in the log And I run :prompt-accept yes And I wait until the download is finished