A shopping application to demonstrate real-world usage of BrowserStack testing methods, patterns, and workflows.
Features
🛠 Built with React, Next
⚡️ Zero database dependencies
🚀 Full-stack Next/React application with real-world features
👮♂️ Local Authentication
Getting Started
BrowserStack Demo App is a full-stack Next/React application.
The app is bundled with offers data, orders data and products data that contains everything you need to start using the app and run tests out-of-the-box.
The app also includes product images which are stored in public/static folder.
🚩 Note
You can login to the app with any of the example users
image_not_loading_user, existing_orders_user or fav_user. The default password for all users istestingisfun99.
Prerequisites
You can run this project via Docker or Node.js version 12 installed on your machine.
Installation with node
Run the app
visit http://localhost:3000/
Open Swagger UI
visit http://localhost:3000/swagger
Load Testing SUT
To Test SUT:
- Start the dev server:
yarn dev - Navigate to:
http://localhost:3000/sut/login - Login with:
testuser/password - Access dashboard and test endpoints