This monorepo has two next apps and their tests in playwright
This Turborepo includes the following packages/apps:
docs
: a Next.js appweb
: another Next.js apptest
: playwright tests for docs and web apps@repo/ui
: a stub React component library shared by bothweb
anddocs
applications@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@repo/typescript-config
:tsconfig.json
s used throughout the monorepo
To build all apps and packages, run the following command:
cd turborepo-ui-tests
turbo build
To develop all apps and packages, run the following command:
cd turborepo-ui-tests
turbo dev
To run e2e tests, both apps need to be running on localhost This is achieved by chaining turbo pipeline commands like this
npx turbo dev test report
The server will remain running after running tests, I am working on figuring out how to stop servers once tests finish