Skip to content

Commit

Permalink
Removed wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanan-udayakumar committed Feb 20, 2024
1 parent 405f5c0 commit e567396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/tecrock-simulation/cypress/e2e/basic/authoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,21 @@ describe("Faulting Lines Authoring Options True", function() {

describe("New divergent boundary magma animation", function() {
before(() => {
cy.visit("/?rocks=true&preset=divergentBoundary2");
cy.visit("?rocks=true&preset=divergentBoundary&stopAfter=300&divisions=15");
cy.waitForSplashscreen();
});

it("Verify New divergent boundary magma animation", function() {
cy.wait(5000);
BottomContainer.getDrawCrossSection().click();
cy.mainCanvasDrag([
{ x: 600, y: 550 },
{ x: 900, y: 550 }
]);
cy.wait(700); // wait for resize to finish
cy.matchImageSnapshot("no-red-shaded-area");
BottomContainer.getStartPause().click();
cy.wait(20000);

cy.wait(700);
cy.matchImageSnapshot("no-red-shaded-area");
BottomContainer.waitForPause();
cy.matchImageSnapshot("red-magma-animation");
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e567396

Please sign in to comment.