Skip to content

FirebaseExtended/firebase-sdk-nextjs-tests

This branch is up to date with main.

Repository files navigation

Firebase SDK Next JS Tests

Status Badge

This repository contains automatic nightly tests that exercise the Firebase JS SDK within a Next.JS app environment via the Playwright test framework.

Getting Started

Tools

This project has be built and tested with yarn version 1.22.11.

First, install dependencies:

yarn

Firebase Project configuration

To configure your Firebase project data, add your project configuration to ./lib/firebase.ts.

Building and executing the tests:

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