Skip to content

Commit

Permalink
Extend cypress test to catch the crash on submitting without an amount
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Oct 13, 2022
1 parent c98d750 commit e40519c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/e2e/scenario-transaction.cy.ts
Expand Up @@ -36,6 +36,9 @@ describe('Scenario : from mnemonic', () => {
})

it('Should send a transaction', () => {
// expect not to crash
cy.findByRole('button', { name: /Send/ }).click()

cy.get('#recipient-id').type('oasis1qz0k5q8vjqvu4s4nwxyj406ylnflkc4vrcjghuwk')
cy.get('#amount-id').type('10')
cy.findByRole('button', { name: /Send/ }).click()
Expand Down

0 comments on commit e40519c

Please sign in to comment.