15159: Update cypress tests to not expect open file in new tab
authorStephen Smith <stephen@curii.com>
Mon, 16 Aug 2021 20:00:08 +0000 (16:00 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 16 Aug 2021 20:00:08 +0000 (16:00 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/collection.spec.js

index c169de2f6f4101e41d2235b91bb29cb4d907201b..9b76159942226338507f9b2749df36e6123d91d4 100644 (file)
@@ -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');