Skip to content

Commit

Permalink
Fix cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibautBremand committed Oct 14, 2023
1 parent df10042 commit 4327052
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/extension/cypress/e2e/submit_transactions_bulk.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,22 +103,18 @@ describe('Submit Transactions (Bulk)', () => {
// Check recap view data
cy.contains('Total number of transactions').next().should('have.text', '4');

cy.contains('Types of transactions:')
.next()
.should('have.text', 'Payment: 3')
.next()
.should('have.text', 'TrustSet: 1');
cy.contains('Types of transactions').next().should('have.text', 'Payment: 3\nTrustSet: 1');

cy.contains('Total network fees:')
cy.contains('Total network fees')
.next()
.should('have.text', '0.000235 XRP', { timeout: 10000 });

// Begin
cy.contains('button', 'Begin').click();

// Submit transactions
cy.contains('button', 'Submit all').click();
cy.contains('You are about to submit 4 transactions in bulk. Are you sure?');
cy.contains('button', 'Submit All').click();
cy.contains('You are about to submit 4 transactions at once.').should('be.visible');
cy.contains('button', 'OK').click();

cy.get('h1[data-testid="transaction-title"]').should('have.text', 'Transactions in progress');
Expand Down

0 comments on commit 4327052

Please sign in to comment.