From dfbcef0fea3fbab84fada28bb901a95b48f5545a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Fri, 23 Apr 2021 15:49:00 +0200 Subject: [PATCH] 17415: Fixed failing test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- cypress/integration/collection.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 })); -- 2.30.2