Skip to content

Commit

Permalink
fix: e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed Jan 29, 2024
1 parent 7ef1201 commit 938f3cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demos/react/cypress/e2e/Home.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ describe('Homepage', () => {

cy.get('[data-testid="runContractFunctionButton"]').should('exist').click();

cy.get('[data-testid="outputTextarea"]').should('exist').contains('0x3eb879cc9a0Ef4C6f1d870A40ae187768c278Da2');
cy.get('[data-testid="outputTextarea"]')
.should('exist')
.contains(/0x\w{40}/);
});

it('resolves domain correctly', () => {
Expand Down

1 comment on commit 938f3cc

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage

Title Lines Statements Branches Functions
api-utils Coverage: 20%
20.6% (61/296) 20.48% (17/83) 19.04% (12/63)
auth Coverage: 89%
92.45% (98/106) 83.33% (20/24) 86.66% (26/30)
evm-api Coverage: 91%
91.83% (90/98) 66.66% (6/9) 87.5% (56/64)
common-aptos-utils Coverage: 4%
4.56% (151/3306) 4.49% (25/556) 5.53% (45/813)
common-evm-utils Coverage: 64%
65.4% (1654/2529) 25% (186/744) 44.26% (421/951)
sol-api Coverage: 97%
97.56% (40/41) 66.66% (6/9) 93.75% (15/16)
common-sol-utils Coverage: 64%
65.42% (229/350) 41.86% (18/43) 50.89% (57/112)
common-streams-utils Coverage: 90%
90.73% (1204/1327) 73.63% (363/493) 82.07% (444/541)
streams Coverage: 91%
90.54% (603/666) 72.34% (68/94) 90.97% (131/144)

Please sign in to comment.