X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7437e0b4a85480fc6ca977488a5bb501e7fa1e3e..ecdb95a4396dd239e762c4aef55675a69f0a04cc:/cypress/integration/delete-multiple-files.spec.js diff --git a/cypress/integration/delete-multiple-files.spec.js b/cypress/integration/delete-multiple-files.spec.js index 2c7f48404a..deb56f66e7 100644 --- a/cypress/integration/delete-multiple-files.spec.js +++ b/cypress/integration/delete-multiple-files.spec.js @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0 -describe('Collection panel tests', function () { +describe('Multi-file deletion tests', function () { let activeUser; let adminUser; @@ -32,7 +32,8 @@ describe('Collection panel tests', function () { }) .as('testCollection').then(function () { cy.loginAs(activeUser); - cy.visit(`/collections/${this.testCollection.uuid}`); + cy.goToPath(`/collections/${this.testCollection.uuid}`); + cy.get('[data-cy=collection-files-panel]').within(() => { cy.get('[type="checkbox"]').first().check(); cy.get('[type="checkbox"]').last().check(); @@ -54,7 +55,7 @@ describe('Collection panel tests', function () { }) .as('testCollection').then(function () { cy.loginAs(activeUser); - cy.visit(`/collections/${this.testCollection.uuid}`); + cy.goToPath(`/collections/${this.testCollection.uuid}`); cy.get('[data-cy=virtual-file-tree] > div > i').first().click(); cy.get('[data-cy=collection-files-panel]')