Skip to content

Commit

Permalink
✅ change chars to 1,20
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaggi-lisk committed Nov 2, 2018
1 parent 6ef8bce commit 9926bde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cypress/e2e/txDetails.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Tx details', () => {
cy.get(ss.txAmount).should('have.text', '-5');
cy.get(ss.txFee).should('have.text', '0.1');
cy.get(ss.txConfirmations).should('have.text', '');
cy.get(ss.txId).contains(/^\d{18}/);
cy.get(ss.txId).contains(/^\d{1,20}/);
cy.get(ss.txReference).should('have.text', 'test-details');
// After confirmation
cy.get(ss.txDate, { timeout: txConfirmationTimeout }).contains(new Date().getFullYear());
Expand All @@ -62,7 +62,7 @@ describe('Tx details', () => {
cy.get(ss.txRemovedVotes).should('not.exist');
cy.get(ss.txFee).should('have.text', '1');
cy.get(ss.txConfirmations).contains(/^\d/);
cy.get(ss.txId).contains(/^\d{18}/);
cy.get(ss.txId).contains(/^\d{1,20}/);
cy.get(ss.txReference).should('have.text', '-');
});

Expand All @@ -80,7 +80,7 @@ describe('Tx details', () => {
cy.get(ss.txRemovedVotes).should('not.exist');
// cy.get(ss.txFee).should('have.text', '25');
cy.get(ss.txConfirmations).contains(/^\d/);
cy.get(ss.txId).contains(/^\d{18}/);
cy.get(ss.txId).contains(/^\d{1,20}/);
cy.get(ss.txReference).should('have.text', '-');
});

Expand All @@ -95,7 +95,7 @@ describe('Tx details', () => {
cy.get(ss.txRemovedVotes).should('not.exist');
cy.get(ss.txFee).should('have.text', '5');
cy.get(ss.txConfirmations).contains(/^\d/);
cy.get(ss.txId).contains(/^\d{18}/);
cy.get(ss.txId).contains(/^\d{1,20}/);
cy.get(ss.txReference).should('have.text', '-');
});
});

0 comments on commit 9926bde

Please sign in to comment.