-
Notifications
You must be signed in to change notification settings - Fork 94
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
test(e2e
): allow to run E2E tests on any networks
#1584
Conversation
!!!WARNING!!! Be very careful about using Only suppress a single rule (or a specific set of rules) within a section of code, while continuing to scan for other problems. To do this, you can list the rule(s) to be suppressed within the #nosec annotation, e.g: /* #nosec G401 */ or //#nosec G201 G202 G203 Pay extra attention to the way |
contrib/localnet/orchestrator/smoketest/cmd/smoketest/local/utils.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Description
Makes the necessary changes to run E2E on any network.
Add a test for ETH withdraw
Tested with ETHGoerli right, experimentation with USDC, Bitcoin and BNB to be done after this week after upgrade.
Usage:
Build
zetae2e
withzetae2e
needs a config file to run, (what key, networks, and test to run, what are the deployed contract addresses), format as follows (for Athens3):The commands require the config file to run.
The E2E tests execution doesn't stop if one of the test fails, instead all the tests are run, at the end of the execution a report is shown in the console to show the tokens that have been consumed by the tests, the time completion, if successful, etc..
Example with a test on Athens3:
Closes: #1482 #1448