From: Stephen Smith Date: Mon, 16 Aug 2021 20:00:08 +0000 (-0400) Subject: 15159: Update cypress tests to not expect open file in new tab X-Git-Tag: 2.3.0~5^2~3 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/1f30af2350ce0ef9b7a0c40d7c931a7ff9c2cc6c 15159: Update cypress tests to not expect open file in new tab Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index c169de2f..9b761599 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -189,7 +189,6 @@ describe('Collection panel tests', function () { .contains(fileName).rightclick({ force: true }); cy.get('[data-cy=context-menu]') .should('contain', 'Download') - .and('contain', 'Open in new tab') .and('contain', 'Copy to clipboard') .and(`${isWritable ? '' : 'not.'}contain`, 'Rename') .and(`${isWritable ? '' : 'not.'}contain`, 'Remove'); @@ -198,7 +197,6 @@ describe('Collection panel tests', function () { .contains(subDirName).rightclick({ force: true }); cy.get('[data-cy=context-menu]') .should('not.contain', 'Download') - .and('contain', 'Open in new tab') .and('contain', 'Copy to clipboard') .and(`${isWritable ? '' : 'not.'}contain`, 'Rename') .and(`${isWritable ? '' : 'not.'}contain`, 'Remove');