X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4a389adfd855075773d7b5419891cfecd3d9b5dc..b4f14437823e9201e9cd952a4f6f3b1502b583bd:/cypress/integration/collection.spec.js diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index 3dd833d04e..69e484173f 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -876,7 +876,8 @@ describe('Collection panel tests', function () { .should('contain', '3').and('contain', '3 B'); // Check context menus on version browser - cy.waitForDom().get('[data-cy=collection-version-browser-select-3]').rightclick() + cy.waitForDom(); + cy.get('[data-cy=collection-version-browser-select-3]').rightclick() cy.get('[data-cy=context-menu]') .should('contain', 'Add to favorites') .and('contain', 'Make a copy') @@ -932,7 +933,7 @@ 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}`).click(); + cy.waitForDom().get('main').contains(`Files extracted from: ${this.collection.name}`).click(); cy.get('[data-cy=collection-files-panel]') .and('contain', 'bar'); });