[ARVADOS-WORKBENCH2] updated: 2.1.0-290-g927b6752
Git user
git at public.arvados.org
Mon Apr 19 20:08:46 UTC 2021
Summary of changes:
cypress/integration/collection.spec.js | 2 +-
cypress/plugins/index.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
via 927b67520cb7fafada0fdbb756ae9639a4ac79d8 (commit)
from 616c6a8fc610bc94b4d257a5d7de6b4de1e8a32c (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 927b67520cb7fafada0fdbb756ae9639a4ac79d8
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Mon Apr 19 22:08:12 2021 +0200
17415: Another fix
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js
index ea5076e1..3813d02e 100644
--- a/cypress/integration/collection.spec.js
+++ b/cypress/integration/collection.spec.js
@@ -46,7 +46,7 @@ describe('Collection panel tests', function () {
cy.get('[data-cy=context-menu]').contains('Open as network folder or S3 bucket').click();
cy.get('[data-cy=download-button').click();
- const filename = path.join(downloadsFolder, `${testCollection.name}.duck`);
+ const filename = path.resolve(path.join(downloadsFolder, `${testCollection.name}.duck`));
cy.readFile(filename, { timeout: 15000 })
.then((body) => {
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
index 18ce9ba2..132f9b0d 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.resolve(path.join(__dirname, "..", "downloads"));
+ const downloadDirectory = path.join(__dirname, "..", "downloads");
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