This repository is a test project for reproducing bug #32868 in Playwright project.
The project is based on Remix and a minimal Playwright setup built for reproducing the bug.
- Clone this repo.
- Install dependencies with
yarn - Run tests in CLI mode by executing:
yarn test - Run the same tests in UI mode by executing:
yarn test:ui
When Playwright is run with --ignore-snapshots flag, expect(locator).toHaveScreenshot() is always ignored, as described in the docs.
Test fails on snapshot comparison when --ignore-snapshots flag is used together with --ui flag.
Run the dev server:
npm run dev
First, build your app for production:
npm run buildThen run the app in production mode:
npm startNow you'll need to pick a host to deploy it to.
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of npm run build
build/serverbuild/client
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.