CodeceptJS Configuration File - yelenagotraining/E2EFrameworks GitHub Wiki
exports.config = {
tests: './src/**/*_test.js',
output: './output',
helpers: {
Playwright: {
url: 'https://uat.integratedtm.dev',
show: true,
browser: 'webkit',
waitForAction: 100,
waitForTimeout: 20000,
//waitForNavigation: "networkidle0",
},
MailSlurp: {
require: '@codeceptjs/mailslurp-helper',
apiKey: '7f5dec138ba66d9f37b289ca6378f2655ac0ddef8f1304032e45da99713f9ffc'
}
},
include: {
I: './steps_file.js',
editorPage: './src/E2E/editor.js',
loginPage: './src/E2E/loginPage.js',
menuBar: './src/E2E/menuBar.js',
quotePage: './src/E2E/quotePage.js'
},
bootstrap: null,
mocha: {
reporterOptions: {
reportDir: "output"
}
},
name: 'ITM.MyCarrier.Frontend',
plugins: {
pauseOnFail: {
//enabled: true
},
retryFailedStep: {
enabled: true
},
tryTo: {
enabled: true
},
screenshotOnFail: {
enabled: true
}
}
}