21128: added toolbar test to collection spec Arvados-DCO-1.1-Signed-off-by: Lisa...
[arvados-workbench2.git] / cypress / integration / project.spec.js
index 4ad6142ee765f50292e5d77afa567f17b55403c4..e6185c108e94c454970ad2605d83f3bc8b4637a2 100644 (file)
@@ -213,8 +213,8 @@ describe("Project tests", function () {
         cy.go('back')
 
         cy.get('[data-cy=data-table-row]').contains(projName).should('exist').parent().parent().parent().click()
-        cy.get('[data-cy=multiselect-button]').should('have.length', 12).eq(3)
-        for (let i = 0; i < 12; i++) {
+        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')
             cy.get('[data-cy=multiselect-button]').eq(i).trigger('mouseout');