Skip to content

Commit

Permalink
make sure to build flowsheets during sweep test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Sep 24, 2024
1 parent d632c8a commit 672963e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions electron/ui/cypress/e2e/FlowsheetTesting.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ describe('WaterTAP UI Testing', () => {
cy.load_flowsheet(flowsheet.name)
cy.screenshot('loaded '+flowsheet.name)

// if model has build options, it must be manually built
if (flowsheet.buildRequired) {
cy.build_flowsheet()
cy.screenshot("built "+flowsheet.name)
}

// set solve type to sweep
cy.get('#solve-sweep-select').click()
cy.wait(100)
Expand Down

0 comments on commit 672963e

Please sign in to comment.