getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
533 stars 193 forks source link

Setup UI tests for the extension #556

Closed bumi closed 2 years ago

bumi commented 2 years ago

We should be able to use Playwright, Puppeteer etc. and also hosted services to test UI flows. I am opening this issue to collect some links for this.

https://www.cypress.io/ https://github.com/microsoft/playwright https://www.lambdatest.com/online-browser-testing https://www.browserstack.com

Cypress

Pupeteer

LambdaTest:

Support says they support extensions "you can test through automation testing by uploading a file to browser> extenstion> unpacked or packed extension"

escapedcat commented 2 years ago

Heard good stuff about playwright. We're mostly (still) cypress and are happy with it.