Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

🛠️ Testing Frameworks and Tools

  • Framework Details: Mention that you are using

    • Mocha as the test runner

    and
    • Chai for assertions

    .
    • Puppeteer as the library for E2E

    • Minimist for environment parameterization

  • Version Information: Include the versions of Mocha, Chai, Node.js, and any other relevant tools or libraries to ensure consistency across environments.

    • Chai Version: 4.3.6

    • Mocha Version: 10.7.3

    • Puppeteer: 23.3.1

    • Minimist: 1.2.8

📒 Test Organization and Structure

  • Directory Structure: Explain how the test files are organized within the project. Provide a visual representation if possible.

    Code Block

    root/tests

    /e2e /users /orders /...
  • Naming Conventions: Describe the naming conventions used for files, test suites, and test cases to maintain consistency.

  • /name.test.js

    Screenshot 2024-10-09 122651.pngImage Added
  • 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: Provide stepStep-by-step instructions on how to execute the tests locally, including any necessary commands.

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

    Code Block
    npm install
    npm testmocha '.\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.

(tick) E2E Test Scenarios

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