X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/00f3ff118197f498d1e8bb0f562058a8a59b7e04..b3e2b24542e19165a95f288a990ad308ace7426f:/cypress/integration/delete-multiple-files.spec.js?ds=sidebyside diff --git a/cypress/integration/delete-multiple-files.spec.js b/cypress/integration/delete-multiple-files.spec.js index 0955f56a..deb56f66 100644 --- a/cypress/integration/delete-multiple-files.spec.js +++ b/cypress/integration/delete-multiple-files.spec.js @@ -32,10 +32,7 @@ describe('Multi-file deletion tests', function () { }) .as('testCollection').then(function () { cy.loginAs(activeUser); - cy.visit(`/collections/${this.testCollection.uuid}`); - - cy.get('[data-cy=linear-progress]').should('exist'); - cy.get('[data-cy=linear-progress]').should('not.exist'); + cy.goToPath(`/collections/${this.testCollection.uuid}`); cy.get('[data-cy=collection-files-panel]').within(() => { cy.get('[type="checkbox"]').first().check(); @@ -58,10 +55,7 @@ describe('Multi-file deletion tests', function () { }) .as('testCollection').then(function () { cy.loginAs(activeUser); - cy.visit(`/collections/${this.testCollection.uuid}`); - - cy.get('[data-cy=linear-progress]').should('exist'); - cy.get('[data-cy=linear-progress]').should('not.exist'); + cy.goToPath(`/collections/${this.testCollection.uuid}`); cy.get('[data-cy=virtual-file-tree] > div > i').first().click(); cy.get('[data-cy=collection-files-panel]')