Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 1, 2023
1 parent d9ddfa0 commit 5eb418d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/smoke/create_tx.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ describe('Queue a transaction on 1/N', () => {
it('should create a queued transaction', () => {
cy.get('button[type="submit"]').should('not.be.disabled')

cy.wait(1000)

cy.contains('Native token transfer').should('be.visible')

// Changes nonce to next one
Expand Down Expand Up @@ -96,14 +98,14 @@ describe('Queue a transaction on 1/N', () => {
cy.get('@Paramsform').submit()

// Asserts the execute checkbox is uncheckable
cy.contains('No, only').click()
cy.contains('No, later').click()

cy.get('input[name="nonce"]')
.clear({ force: true })
.type(currentNonce + 10, { force: true })
.type('{enter}', { force: true })

cy.contains('Submit').click()
cy.contains('Sign').click()
})

it('should click the notification and see the transaction queued', () => {
Expand Down

0 comments on commit 5eb418d

Please sign in to comment.