[ARVADOS-WORKBENCH2] updated: 2.1.0-288-gaa2fde93

Git user git at public.arvados.org
Fri Apr 16 22:32:52 UTC 2021


Summary of changes:
 cypress/plugins/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  aa2fde93e604c3f04b3a228d68b9627d79e6ba76 (commit)
      from  a7c16589e1ae08addbd6a9aee75d5f90c1704e5c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit aa2fde93e604c3f04b3a228d68b9627d79e6ba76
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Sat Apr 17 00:32:19 2021 +0200

    17415: Download dir fix
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
index 67262bcb..132f9b0d 100644
--- a/cypress/plugins/index.js
+++ b/cypress/plugins/index.js
@@ -27,7 +27,7 @@ module.exports = (on, config) => {
   // `config` is the resolved Cypress config
   on("before:browser:launch", (browser = {}, launchOptions) => {
     const downloadDirectory = path.join(__dirname, "..", "downloads");
-    if (browser.family === "chromium") {
+    if (browser.family === 'chromium' && browser.name !== 'electron') {
      launchOptions.preferences.default["download"] = {
       default_directory: downloadDirectory
      };

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list