-
Notifications
You must be signed in to change notification settings - Fork 535
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
Integration Test for RPC nodes #2984
base: master
Are you sure you want to change the base?
Conversation
Pull reviewers statsStats of the last 30 days for alpha-wallet-android:
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2984 +/- ##
===========================================
- Coverage 7.58% 7.56% -0.02%
Complexity 906 906
===========================================
Files 658 658
Lines 44857 44876 +19
Branches 4517 4524 +7
===========================================
- Hits 3402 3396 -6
- Misses 41165 41190 +25
Partials 290 290
☔ View full report in Codecov by Sentry. |
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.
Good start - can you also add to the test to verify that each network doesn't display a :( face. I am not sure the best way to do this; a good way could be to sense the "IC" value in the environment variables (I think it is "IC") and if sensed then if any network comes up with a :( switch on some text (or symbol) at the top of the page. The integration test would sense that text.
To do this correctly you'd also need to display some different text (or symbol) once all networks have completed their check.
This way you can timeout, complete if the 'all network success' symbol/text comes up and mark fail if the 'one network has failed' symbol/text becomes visible.
This symbol/text should only appear if the app senses that it is running an integration test. I think the "IC" symbol will appear in the environment vars if it is (check the script).
Do you mean "CI" value in environment variables? |
That's exactly what I mean :) |
a1cfb4f
to
8acd3f7
Compare
4c5147a
to
e6a74bc
Compare
* Update transfer fetch * Fix test and formatting
Hi @JamesSmartCell, the test is currently failing and I’m unsure whether it’s due to issues with the test code or if some of the networks are not responding. Could you please verify the network status on the test device? |
Yes! Artis has been switched off (we checked with the Artis team), so it needs to be removed. Then the test should work. I can see it failing instantly because Artis isn't responding. |
I removed the ARTIS chain Now it's giving this error:
It might be an idea to wait for 20 seconds or so for all the nodes to return the ping; initially there may not be any status icons visible. |
No description provided.