This repository contains automatic nightly tests that exercise the Firebase JS SDK within a Next.JS app environment via the Playwright test framework.
This project has be built and tested with yarn
version 1.22.11
.
First, install dependencies:
yarn
To configure your Firebase project data, add your project configuration to ./lib/firebase.ts
.
yarn build
To execute all of the tests, run:
yarn test
To exeucte a single test, define the playwright test spec as a command line parameter. For instance, to execute only the Auth tests:
yarn test tests/auth.spec.ts
To run the tests on an app server for manual testing:
yarn dev