Configurations

January 22, 2023 ยท View on GitHub

Project Configuration

A user can create cytorus.config.js on project's root to control Cytorus behavior. e.g.

const generateCucumberReport = require('./config/cucumberReport');

module.exports = {
    runConfig: {
        docker: {
            env: [ "CYPRESS_RECORD_KEY",  "CYPRESS_VIDEO" ]
        }
    },
    init: async function(){
        //start your application or poll if it starts before initiating tests
    },
    end: async function(){
        await generateCucumberReport();
    },
    threshold: require("./config/thresholdStrategies")
}

Cypress related configuration will go in cypress.json.

> Next : Threshold Strategies to keep the builds green