17415: Fixed wrong hostname in generated duck file
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Tue, 13 Apr 2021 15:36:52 +0000 (17:36 +0200)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Tue, 13 Apr 2021 15:36:52 +0000 (17:36 +0200)
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

cypress/integration/collection.spec.js
src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx

index f5f44b851350d6cf63ecbdda641d5fd8e828b9a5..fa3ad8e6a3b2815ebea4c57dc77813e7fe29e3ba 100644 (file)
@@ -32,7 +32,7 @@ describe('Collection panel tests', function () {
         cy.clearLocalStorage();
     });
 
-    it.only('allows to download mountain duck config for a collection', () => {
+    it('allows to download mountain duck config for a collection', () => {
         cy.createCollection(adminUser.token, {
             name: `Test collection ${Math.floor(Math.random() * 999999)}`,
             owner_uuid: activeUser.user.uuid,
index 6e5c7c0fac160e110e1caedeb9bbfae57df55d33..eec15c49ee842038ac4d3d75afd78f1b355ff6d9 100644 (file)
@@ -59,7 +59,7 @@ const mountainduckTemplate = ({
       <key>UUID</key>
       <string>${uuid}</string>
       <key>Hostname</key>
-      <string>${collectionsUrl.replace('https://', `davs://${username}@`).replace('*', uuid)}</string>
+      <string>${collectionsUrl.replace('https://', ``).replace('*', uuid)}</string>
       <key>Port</key>
       <string>443</string>
       <key>Username</key>