@digy4/digyrunner-codeceptjs
v0.0.12
Published
DigyRunner for codeceptjs
Downloads
706
Readme
digyrunner-codeceptjs
DigyRunner for CodeceptJS-Playwright
Steps to Integrate
- Install the npm package:
npm install @digy4/digyrunner-codeceptjs - Create a file in your project called
digyRunnerConfig.jsand copy the following to paste inside this file:
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: "",
};- Edit
digyRunnerConfig.jswith the appropriate values, especially:lob,projectName,teamNameresultsSummaryUrl,projectPlanUrlclientId,clientSecret
- Inside of your
codecept.conf.jsfile, import thedigyRunnerConfigfile and register the helper like below:
const { digyRunnerConfig } = require("<path-to>/digyRunnerConfig");
exports.config = {
// ...
helpers: {
// ...
Digy4Helper: {
require: "@digy4/digyrunner-codeceptjs/Digy4Helper",
enabled: true,
digyRunnerConfig: digyRunnerConfig,
tempPath: "./digy_temp",
},
// ...
},
// ...
}- Now when you run your tests, you should see the results appear in the Digy Dashboard assuming the integration was done correctly.
