oasisprotocol / sapphire-paratime

Oasis Sapphire - the confidential EVM-compatible ParaTime for the Oasis Network
https://oasisprotocol.org/sapphire
Apache License 2.0
39 stars 27 forks source link

Improve CI to support UI MetaMask testing #417

Closed aefhm closed 3 weeks ago

aefhm commented 2 months ago

Check out, what's currently hot in the crypto space to for testing your dApp behavior with brave/metamask. Find any relevant sapphire-paratime issues related to this (https://github.com/oasisprotocol/sapphire-paratime/issues/242 ?).

cc the Wallet/dApp team @lubej @lukaw3d

lukaw3d commented 2 months ago

I was looking at these to automatically make screenshots in https://github.com/oasisprotocol/dapp-onramp with playwright:

lukaw3d commented 2 months ago

We test some of ROSE Wallet - Extension with playwright like this:

this opens chrome-extension://ppdadbejkmjnefldpcdjhnkpbjkikoip/popup.2d61f0d3.html in a tab. (our ext wallet doesn't need to communicate with any dApps. not sure if that would work)

aefhm commented 1 month ago

@matevz mentioned that we ought to incorporate this level of integration testing for demo-starter projects so that devs will have a testing framework as a default.