20031: Verify files in all copy/move batch operation tests
[arvados-workbench2.git] / cypress / integration / collection.spec.js
index a49c18db3181a90b5845acbe7e02461a991a0d81..c53ff3929d442fee7a64e5092dcf337310916e2f 100644 (file)
@@ -930,7 +930,9 @@ describe('Collection panel tests', function () {
 
                 cy.waitForDom().get('.layout-pane-primary', { timeout: 12000 }).contains('Projects').click();
 
-                cy.get('main').contains(`Files extracted from: ${this.collection.name}`).should('exist');
+                cy.get('main').contains(`Files extracted from: ${this.collection.name}`).click();
+                cy.get('[data-cy=collection-files-panel]')
+                        .and('contain', 'bar');
             });
     });
 
@@ -1103,8 +1105,6 @@ describe('Collection panel tests', function () {
 
                 cy.waitForDom().get('.layout-pane-primary', { timeout: 12000 }).contains('Projects').click();
 
-                // cy.goToPath(`/collections/${destinationCollection.uuid}`);
-
                 cy.get('main').contains(`File moved from collection ${sourceCollection.name}/bar`).click();
                 cy.get('[data-cy=collection-files-panel]')
                         .and('contain', 'bar');