Skip to content

openboxes/openboxes-e2e

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

About

End to end testing for OpenBoxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •