X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0afc40ccf18f9909ef1bab6cd8a41350a9789610..87fff7ceda76e813646e3fe1c2c41bb8ad567143:/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 2c7f4840..deb56f66 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]')