From: Daniel Kutyła Date: Fri, 23 Apr 2021 13:49:00 +0000 (+0200) Subject: 17415: Fixed failing test X-Git-Tag: 2.2.0~12^2~1 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/dfbcef0fea3fbab84fada28bb901a95b48f5545a 17415: Fixed failing test Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index e8fe1366..f3de8cd4 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -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 }));