Skip to content

openboxes/openboxes-e2e

Folders and files

NameName
Last commit message
Last commit date
Feb 11, 2025
Nov 6, 2024
Feb 25, 2025
Feb 11, 2025
Feb 7, 2025
Feb 4, 2025
Apr 2, 2024
Apr 2, 2024
Apr 2, 2024
Nov 19, 2024
Oct 23, 2024
Dec 20, 2024
Oct 31, 2024
Apr 2, 2024

Repository files navigation

📦 Openboxes E2E tests

End to end testing for OpenBoxes

Playwright Tests   Playwright Tests

🧰 Setup

Required

  • NPM 6.14.6
  • Node 14.21.x

Install Dependencies

npm install

npx playwright install

🔠 Environment Variables

To configure this project on your chosen instance of OpenBoxes, you need to set up the required environment variables in the .env file.
For detailed information on the required environment variables, please refer to the Environment Variables documentation.

📖 Documentation

  1. 🗒️ Introduction (Tutorial)
  2. 🔠 Environment Variables
  3. 📂 Folder Structure
  4. ⚙️ Application Configuration
  5. 🛡️ User Authentication
  6. ⚓ Fixtures
  7. 📍 Locators
  8. 🧰 Data Setup
  9. 🚀 DCI/CD

🗒️ Scripts

🧪 Running tests

For more information on available flags when running tests in playwright reffer to the documentation.

npm run test

To add a flag to the npm script, do the following eg. npm run test -- --headed

🧹 Code Linting

To check if there are any linter errors that require attention run the following command

npm run lint

If you wish to handle these errors automatically run

npm run lint-fix

🧱 Code formatting

To format your code run the following command

npm run format