passwordless icon indicating copy to clipboard operation
passwordless copied to clipboard

Automated testing

Open kylemantesso opened this issue 8 years ago • 2 comments

Does anyone have any good strategies to enable automated UI testing using passwordless login?

kylemantesso avatar Feb 17 '17 04:02 kylemantesso

We wrote a mock for the email-sending function that saves the token in a variable instead of sending the email, and then the tests can just read it.

https://facebook.github.io/jest/docs/en/mock-functions.html

brendanlong avatar Dec 02 '17 00:12 brendanlong

We can use Puppeteer and Browserstack + Jest for this

DanielRuf avatar Nov 13 '18 07:11 DanielRuf