This repository uses Playwright to execute Firebase JS SDK tests witin both Next.js and Angular environments. The repository is meant to run nightly against the latest upcoming Firebase JS SDK.
Angular tests are a work in progress and are not available at this time.
This project has be built and tested with yarn
version 1.22.11
.
First, install dependencies:
yarn install
To configure your Firebase project data, add your project configuration to js-sdk-framework-tests/nextjs/lib/firebase.ts
. Angular tests are coming soon.
yarn setup:nextjs
yarn build:nextjs
To execute all of the tests, run:
yarn test:nextjs
More information about running Next.js and Angular tests specifically can be found in the README.md
s files in js-sdk-framework-tests/nextjs
and js-sdk-framework-tests/angular
, respectively.