Skip to content

Commit

Permalink
fix(checks.test.ts): foxed flakey part of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
asalem1 committed May 2, 2020
1 parent 6051317 commit b5c3e75
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ui/cypress/e2e/checks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,7 @@ describe('Checks', () => {
.type(checkName)
cy.getByTestID('save-cell--button').click()
// checks that the values persisted
cy.getByTestID('check-card--name')
.contains(checkName)
.should('have.length', 1)
cy.getByTestID('check-card--name').click()
cy.getByTestID('input-field').should('have.value', '7')
cy.getByTestID('page-title').contains(checkName)
cy.getByTestID('check-card--name').contains(checkName)
})

it('can edit the check card', () => {
Expand Down

0 comments on commit b5c3e75

Please sign in to comment.