-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add a crate to test the in-browser light client. #4887
Conversation
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.
Of course also waiting to switch to published libp2p.
Firefox will be added to the CI env in paritytech/scripts#152 |
@tomaka Would you like to wait until libp2p/rust-libp2p#1454 is merged and libp2p 0.16.1 is published before merging this? I'm happy either way. |
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 to me, assuming you manage to make the test work.
Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com>
…ate into ashley-browser-testing
I've merged in #5613. |
Still not working? |
It worked once: https://gitlab.parity.io/parity/substrate/-/jobs/459858, but then when i re-ran that test it failed, with the only different being the port number that |
Hmm :( |
@expenses Did you tried running it with |
currently, it doesn't work with the chromedriver, working on it. |
@expenses
and
It did not work: logs
Apparently, this setup does not read
Proof: in |
@TriplEight Oh, thanks for figuring out how to make it reproducible! |
I think I've finally gotten it to work 😊😊😊😊 |
At the moment, the wasm light client is at a high risk of being broken by incoming commits. This PR adds a simple test that makes sure the light client connects to peers and starts syncing. This requires #4880 to me merged first.
It's pretty messy, but I'm not sure if there's a great way to improve that.