From 616c6a8fc610bc94b4d257a5d7de6b4de1e8a32c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Mon, 19 Apr 2021 21:46:37 +0200 Subject: [PATCH] 17415: Fixed failing test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- cypress/plugins/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 132f9b0d..18ce9ba2 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -26,7 +26,7 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config on("before:browser:launch", (browser = {}, launchOptions) => { - const downloadDirectory = path.join(__dirname, "..", "downloads"); + const downloadDirectory = path.resolve(path.join(__dirname, "..", "downloads")); if (browser.family === 'chromium' && browser.name !== 'electron') { launchOptions.preferences.default["download"] = { default_directory: downloadDirectory -- 2.30.2