There are two scripts, one for the Next.js app and one for the Remix app. Each script runs the performance test 5 times and create the repots as html,json and csv. Attention: After my bachelor degree, the servers will not be available anymore, so tests won't work afterwards.
Following steps are in the user-flow:
- Visit homepage
- View all events
- View event detail
- Login
- Create Event
- View My Events
First install dependencies in root
npm install
node remix_test_with_lighthouse.js
node nextjs_test_with_lighthouse.js
Here are some tests to try out puppeteer as it's own. Also there is a file lighthouse_userflow_test.js
which is not working due to issues on soft navigation. (IssueGoogleChrome/lighthouse#14573)