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

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

πŸ’‘ Feature Request

Tags

Runtimes

Date

Almost 2 years ago

Author

Jeff Reiner

Subscribe to post

Get notified by email when there are changes.