Skip to content

Commit

Permalink
update e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Nov 9, 2023
1 parent e3144b1 commit 6819c17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions electron/ui/cypress/e2e/DisplayDataRounding.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ describe('Display Data Rounding', () => {
cy.wait (5000)

//click on all flowsheets
cy.findByText("All Flowsheets").click()
cy.screenshot(sc_count+'_clicked all flowsheets')
sc_count+=1
// cy.findByText("All Flowsheets").click()
// cy.screenshot(sc_count+'_clicked all flowsheets')
// sc_count+=1


//click flowsheet and wait for api response
Expand Down
2 changes: 1 addition & 1 deletion electron/ui/cypress/e2e/FlowsheetOutput.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Flowsheet Output Test', () => {
sc_count+=1

//click on all flowsheets
cy.findByText("All Flowsheets").click()
// cy.findByText("All Flowsheets").click()

//click flowsheet and wait for api response
var flowsheet_name = "Metab flowsheet"
Expand Down
2 changes: 1 addition & 1 deletion electron/ui/cypress/e2e/FlowsheetsList.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('flowsheetslist', () => {
cy.visit('/')

//click on all flowsheets
cy.findByText("All Flowsheets").click()
// cy.findByText("All Flowsheets").click()

//locate heading
cy.findByRole('heading', { name: /flowsheets/i})
Expand Down
2 changes: 1 addition & 1 deletion electron/ui/cypress/e2e/InvalidFlowsheetInput.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Invalid Input Test', () => {
sc_count+=1

//click on all flowsheets
cy.findByText("All Flowsheets").click()
// cy.findByText("All Flowsheets").click()

//click flowsheet and wait for api response
var flowsheet_name = "Metab flowsheet"
Expand Down

0 comments on commit 6819c17

Please sign in to comment.