Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix travis test #221

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ script:
## like this without having to
## configure environment variables
## - cypress run --record --key <your_record_key>


addons:
apt:
packages:
- libgconf-2-4
8 changes: 4 additions & 4 deletions cypress/integration/7.click.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ context('Gutter click example page tests', () => {

// Click gutter1 to close area1
cy.get('.as-split-gutter').eq(0).click();
cy.wait(1500);
cy.wait(2000);
checkSplitDirAndSizes('.split-example > as-split', 'horizontal', W, H, GUTTER, [0, 787.5, 262.5]);
cy.wait(10);

Expand All @@ -81,7 +81,7 @@ context('Gutter click example page tests', () => {

// Click gutter2 to close area3
cy.get('.as-split-gutter').eq(1).click();
cy.wait(1500);
cy.wait(2000);
checkSplitDirAndSizes('.split-example > as-split', 'horizontal', W, H, GUTTER, [0, 1050, 0]);
cy.wait(10);

Expand All @@ -101,7 +101,7 @@ context('Gutter click example page tests', () => {

// Click gutter2 to close area3
cy.get('.as-split-gutter').eq(1).click();
cy.wait(1500);
cy.wait(2000);
checkSplitDirAndSizes('.split-example > as-split', 'horizontal', W, H, GUTTER, [0, 1050, 0]);
cy.wait(10);

Expand All @@ -112,7 +112,7 @@ context('Gutter click example page tests', () => {

// Click gutter1 to display area1
cy.get('.as-split-gutter').eq(0).click();
cy.wait(1500);
cy.wait(2000);
checkSplitDirAndSizes('.split-example > as-split', 'horizontal', W, H, GUTTER, [262.5, 787.5, 0]);
cy.wait(10);

Expand Down