Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
Info

This page includes information on the E2E tests suite configurations and quick links to each E2E Test Scenario

🛠️ Testing Frameworks and Tools

  • Framework Details:

    • Mocha as the test runner

    • Chai for assertions

    • Puppeteer as the library for E2E

    • Minimist for environment parameterization

  • Version Information:

    • Chai Version: 4.3.6

    • Mocha Version: 10.7.3

    • Puppeteer: 23.3.1

    • Minimist: 1.2.8

📒 Test Organization and Structure

  • Directory Structure: root/tests/name.test.js

    Screenshot 2024-10-09 122651.pngImage Removed
  • Naming Conventions: The tests are named after their purpose followed by a .test extension and .js. An example for login is login.test.js

💡 Prerequisites

  • Node.js installed on your machine.

  • npm (Node Package Manager) available.

🗒️ Test Execution Instructions

  • Running Tests Locally: Step-by-step instructions on how to execute the tests locally, including any necessary commands.

  • Code Block
    npm install
    npm test
  • Running Tests on Staging:

    Code Block
    mocha '.\test\' --env=staging
  • Running Tests on Production:

    Code Block
    mocha '.\test\' --env=production
  • Continuous Integration (CI) Pipeline: If applicable, describe how tests are integrated into the CI pipeline and any configurations needed.

...

Page Properties Report
cqllabel = "e2escenarios" and space = currentSpace ( )