New npm package for playwright tests: @nearform/playwright-firebase
Adding this package would allow for running E2E tests without requiring the test to log in through Google oAuth or creating a testing email inbox to get into the app.
There is a similar method for Cypress tests that work the same, since the tests already run in a secure node environment it would be fine to add in environment variables of a firebase service account to create the login token needed from the Admin SDK to log in the user for testing against a given user account.
Here is the package: https://github.com/nearform/playwright-firebase
Log in to comment and vote
Comments1
Rikard Nilsson
Jun 19, 2024
Hi Jeff,
Thanks for your feedback! We'll have a look at this package when we start working on our next runtime.
In the meantime let me know if you have any additional ideas or questions.
Regards,
Rikard