-
Notifications
You must be signed in to change notification settings - Fork 431
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
Use existing node to run e2e tests in dev #2047
Conversation
f33e0f1
to
0263726
Compare
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 functionality already exists, albeit not configured by an environment variable. The node url comes from the attribute config #[e2e_test(node_url = "ws://127.0.0.1:8000")]
.
What we could do here is to modify this line and check for the env var which would take precedence over the config?
Ah nice did not know that will look into your suggestion |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2047 +/- ##
==========================================
+ Coverage 53.47% 53.49% +0.02%
==========================================
Files 221 221
Lines 6983 6984 +1
Branches 3080 3082 +2
==========================================
+ Hits 3734 3736 +2
+ Misses 3249 3248 -1 ☔ View full report in Codecov by Sentry. |
3d72712
to
1001916
Compare
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the
Link to the run | Last update: Mon Jan 8 14:16:41 CET 2024 |
Add an option to run e2e tests with an existing node in dev.
This is useful when you want to easily scan the debug logs of pallet-contracts to debug an e2e test