17415: Removed console.log, used goToPath 17415-Mountainduck-Bookmark-files
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Mon, 26 Apr 2021 06:59:07 +0000 (08:59 +0200)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Mon, 26 Apr 2021 06:59:07 +0000 (08:59 +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 f3de8cd4adb20aff5deb77315bb59f4fc55bd870..5bad87b3e7f4bee8256a0e515963a32f454bbcdd 100644 (file)
@@ -40,7 +40,7 @@ describe('Collection panel tests', function () {
         })
         .as('testCollection').then(function (testCollection) {
             cy.loginAs(activeUser);
-            cy.doSearch(`${testCollection.uuid}`);
+            cy.goToPath(`/collections/${testCollection.uuid}`);
 
             cy.get('[data-cy=collection-panel-options-btn]').click();
             cy.get('[data-cy=context-menu]').contains('Open as network folder or S3 bucket').click();
index d2d27c09a57abc5248acaaeca14f943d98017978..8cd1faf31ec05b2a772626df6a041c3b5c944e58 100644 (file)
@@ -45,7 +45,6 @@ function TabPanel(props: TabPanelData) {
 }
 
 const isValidIpAddress = (ipAddress: string): Boolean => {
-    console.log(ipAddress);
     if (/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(ipAddress)) {
         return true;
     }