X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/61f5c58ab3152947752f83e9af324cd3f0cc8f25..3c8510bc1a542a9dddde068c0dcd2d7d0323afa3:/services/workbench2/cypress/integration/collection.spec.js diff --git a/services/workbench2/cypress/integration/collection.spec.js b/services/workbench2/cypress/integration/collection.spec.js index 2e409e58c9..2a5c5343c9 100644 --- a/services/workbench2/cypress/integration/collection.spec.js +++ b/services/workbench2/cypress/integration/collection.spec.js @@ -28,11 +28,12 @@ describe("Collection panel tests", function () { }); beforeEach(function () { + cy.viewport(1920, 1080) cy.clearCookies(); cy.clearLocalStorage(); }); - it.only('shows the appropriate buttons in the toolbar', () => { + it('shows the appropriate buttons in the toolbar', () => { const msButtonTooltips = [ 'API Details', @@ -63,9 +64,7 @@ describe("Collection panel tests", function () { cy.get("[data-cy=side-panel-tree]").contains("Home Projects").click(); cy.waitForDom() cy.get('[data-cy=data-table-row]').contains(name).should('exist').parent().parent().parent().parent().click() - const buttons = cy.get('[data-cy=multiselect-button]') - console.log(buttons) - cy.get('[data-cy=multiselect-button]').should('have.length', msButtonTooltips.length + 1) + cy.get('[data-cy=multiselect-button]').should('have.length', msButtonTooltips.length) for (let i = 0; i < msButtonTooltips.length; i++) { cy.get('[data-cy=multiselect-button]').eq(i).trigger('mouseover'); cy.get('body').contains(msButtonTooltips[i]).should('exist')