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

Add simple send e2e test #6669

Merged
merged 2 commits into from
Jul 18, 2019
Merged

Conversation

whymarrh
Copy link
Contributor

Closes #6548

This PR adds a e2e test using fixture data that exercises the send flow, sending 1 ETH from one account to another on a local test chain.

@whymarrh whymarrh force-pushed the e2e-simple-send branch 2 times, most recently from 20fb03a to 69fb1f5 Compare May 30, 2019 16:34
@whymarrh whymarrh marked this pull request as ready for review June 21, 2019 09:38
@whymarrh
Copy link
Contributor Author

@danjm this is ready for review—I've added it to CI but I'm still debugging it. It does pass locally so maybe we can leave out the CI job for now?

@danjm
Copy link
Contributor

danjm commented Jun 24, 2019

@whymarrh I agree we can leave out the CI for now.

@danjm
Copy link
Contributor

danjm commented Jun 24, 2019

Can you add some basic documentation for running these tests locally?

@danjm
Copy link
Contributor

danjm commented Jun 24, 2019

Do we need to commit all of these fixture files/

Copy link
Contributor

@danjm danjm left a comment

Choose a reason for hiding this comment

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

Code looks fine. Suggested addition of documentation and questioned the committing of all the fixture files.

@whymarrh
Copy link
Contributor Author

Do we need to commit all of these fixture files

Whatever is needed for a test to run should be committed to the repo, yes. It's the best solution I can come up with, but I'm open to alternatives.

Can you add some basic documentation for running these tests locally?

I've added brief info for running the tests locally and for generating the fixture files.

@whymarrh whymarrh requested a review from Gudahtt July 10, 2019 16:50
Copy link
Contributor

@danjm danjm left a comment

Choose a reason for hiding this comment

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

LGTM

@whymarrh whymarrh merged this pull request into MetaMask:e2e-2.0 Jul 18, 2019
@whymarrh whymarrh deleted the e2e-simple-send branch July 18, 2019 02:43
@whymarrh whymarrh mentioned this pull request Jul 18, 2019
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