From: Daniel Kutyła Date: Mon, 19 Apr 2021 19:46:37 +0000 (+0200) Subject: 17415: Fixed failing test X-Git-Tag: 2.2.0~12^2~33 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/616c6a8fc610bc94b4d257a5d7de6b4de1e8a32c 17415: Fixed failing test Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- 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