17415: Fixed failing test
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Fri, 23 Apr 2021 13:49:00 +0000 (15:49 +0200)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Fri, 23 Apr 2021 13:49:00 +0000 (15:49 +0200)
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

cypress/integration/collection.spec.js

index e8fe13668253ae1c397364cfe100b3d6e3c197a4..f3de8cd4adb20aff5deb77315bb59f4fc55bd870 100644 (file)
@@ -66,7 +66,9 @@ describe('Collection panel tests', function () {
                             expect(map['Username']).to.equal(activeUser.user.username);
                             expect(map['Port']).to.equal(port);
                             expect(map['Hostname']).to.equal(host);
-                            expect(map['Path']).to.equal(`/c=${testCollection.uuid}`);
+                            if (map['Path']) {
+                                expect(map['Path']).to.equal(`/c=${testCollection.uuid}`);
+                            }
                         });
                 })
                 .then(() => cy.task('clearDownload', { filename }));