DigyRunner for codeceptjs
npm install @digy4/digyrunner-codeceptjsDigyRunner for CodeceptJS-Playwright
npm install @digy4/digyrunner-codeceptjsdigyRunnerConfig.js and copy the following to paste inside this file:Javascript
exports.digyRunnerConfig = {
lob: "Digy4 LOB",
application: "Codecept Project",
release: "release",
projectName: "Digy4 Test Project",
suiteName: "Regression",
teamName: "Digy4 Team",
appVersion: "1.0",
environment: "test",
moduleName: "module",
tester: "Joe Bloggs",
ba: "Jane Doe",
developer: "John Smith",
// testType: "API",
testType: "WEB",
resultsSummaryUrl: '',
projectPlanUrl: '',
clientId: "",
clientSecret: "",
};
`
3. Edit digyRunnerConfig.js with the appropriate values, especially:
* lob, projectName, teamName
* resultsSummaryUrl, projectPlanUrl
* clientId, clientSecret
4. Inside of your codecept.conf.js file, import the digyRunnerConfig file and register the helper like below:
`Javascript
const { digyRunnerConfig } = require("/digyRunnerConfig");exports.config = {
// ...
helpers: {
// ...
Digy4Helper: {
require: "@digy4/digyrunner-codeceptjs/Digy4Helper",
enabled: true,
digyRunnerConfig: digyRunnerConfig,
tempPath: "./digy_temp",
},
// ...
},
// ...
}
``