Skip to content

aragon/app-qa

Repository files navigation

Aragon App - QA

The app-qa repository is responsible for running end-to-end (E2E) tests against the app-next and the app-backend repositories. These tests ensure the stability and functionality of the Aragon App by simulating real user interactions using Playwright and Synpress.

Requirements

Before setting up the project, ensure you have the following installed:

  • Node.js (Latest LTS version recommended)
  • Yarn (Or npm, if preferred)
  • Git

Getting Started

Follow these steps to set up and run E2E tests locally:

  1. Install dependencies:

    yarn install
  2. Set up environment variables:

    Create a .env file in the root directory using .env.example as a template. Ensure it includes the necessary variables:

    cp .env.example .env

    Required environment variables:

    METAMASK_SEED_PHRASE=<your-seed-phrase>
    METAMASK_PASSWORD=<your-password>
  3. Build Synpress cache (required for MetaMask integration):

    yarn setup

Running E2E Tests

Ensure your MetaMask wallet has sufficient funds before running tests.

  • Run all tests:

    yarn test
  • Run tests on a specific browser (e.g., Firefox):

    yarn test --project=firefox
  • Run tests on a specific environment (e.g., Staging):

    TEST_ENV=staging yarn test
  • Run tests on a custom URL:

    TEST_ENV=custom CUSTOM_URL=https://custom.app.aragon.org yarn test
  • View more options in the Playwright configuration file: playwright.config.js

Documentation

The E2E testing framework utilizes the following tools:

For more details, refer to the Playwright Documentation and Synpress Documentation.

Contributing

Contributions are welcome! If you plan to make significant changes, please open an issue first for discussion. Ensure that your tests cover expected behaviors before submitting a pull request.

Security

If you discover any security issues, please report them to the security contact at sirt@aragon.org. Do not use the issue tracker for security concerns.

Learn More

For more information about Aragon and its ecosystem, please visit the Aragon website and explore our Developer Portal. Join our Developer Community to stay updated and contribute to the growth of decentralized governance.

License

GPL-V3

About

E2E test suite for Aragon App

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •