//
// SPDX-License-Identifier: AGPL-3.0
-describe('Collection panel tests', function () {
+describe('Multi-file deletion tests', function () {
let activeUser;
let adminUser;
})
.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();
})
.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]')