Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERC20 and Mother e2e tests #322

Merged
merged 13 commits into from
Jul 7, 2022
Merged

ERC20 and Mother e2e tests #322

merged 13 commits into from
Jul 7, 2022

Conversation

statictype
Copy link
Contributor

@statictype statictype commented Jun 27, 2022

This PR contains tests for the remaining ERC20 messages and for the rendering of complex inputs with mother.contract
It also includes a major update of Cypress and updates to fixtures and contracts-node binary.

There is a strange bug with the gas estimation of mother.contract which happens only in the testing environment . The gas limit is too low so the instantiation fails. When trying to increase the gas limit manually with Cypress, the app throws a blanc screen. Might happen because the test runner has limited resources. I skipped the instantiation tests so far for mother.contract

Extra:
Removed @types/react-router - they are bundled with the package now and were causing build to fail
The app now displays number inputs for all numeric types

@netlify
Copy link

netlify bot commented Jun 27, 2022

Deploy Preview for contracts-ui ready!

Name Link
🔨 Latest commit 0426196
🔍 Latest deploy log https://app.netlify.com/sites/contracts-ui/deploys/62c67f4a9ed7b80008a30413
😎 Deploy Preview https://deploy-preview-322--contracts-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@statictype statictype marked this pull request as draft June 27, 2022 12:58
kwingram25
kwingram25 previously approved these changes Jun 30, 2022
Copy link
Contributor

@kwingram25 kwingram25 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@statictype statictype marked this pull request as ready for review July 4, 2022 14:40
@statictype statictype changed the title Tokens e2e tests ERC20 and Mother e2e tests Jul 4, 2022
kwingram25
kwingram25 previously approved these changes Jul 6, 2022
Copy link
Contributor

@kwingram25 kwingram25 left a comment

Choose a reason for hiding this comment

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

Tests all pass. Nice!

@statictype statictype merged commit aa76323 into master Jul 7, 2022
@statictype statictype deleted the ae-tests branch July 7, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants