Skip to content

Commit

Permalink
Test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jul 23, 2020
1 parent 5ea2436 commit 02aeec8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test-projects/basic/cypress/integration/columns_spec.js
Expand Up @@ -24,9 +24,11 @@ describe('Columns', () => {

const openColumnControlsIfClosed = () => {
cy.get('body')
.not.find('#ks-column-select')
.then(() => {
cy.get('#ks-column-button').click({ force: true });
.find('#ks-column-select')
.then(e => {
if (e.length === 0) {
cy.get('#ks-column-button').click({ force: true });
}
});
};

Expand Down

0 comments on commit 02aeec8

Please sign in to comment.