-
Notifications
You must be signed in to change notification settings - Fork 4
/
codecept.smoke.conf.js
61 lines (60 loc) · 1.93 KB
/
codecept.smoke.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const TestData = require('./src/test/js/config/test_data')
exports.config = {
name: 'idam-web-public',
tests: './src/test/js/**/*_test.js',
output: './output',
fullPageScreenshots: true,
timeout: 180000,
bootstrap: false,
helpers: {
Puppeteer: {
// show: true,
url: TestData.WEB_PUBLIC_URL,
waitForTimeout: 60000,
waitForAction: TestData.WAIT_FOR_ACTION_TIMEOUT,
windowSize: "1280x960",
getPageTimeout: 20000,
chrome: {
//args: ["--proxy-server=" + process.env.PROXY_SERVER],
ignoreHTTPSErrors: true
}
},
idam_helper: {
"require": "./src/test/js/shared/idam_helper.js"
},
refdata_helper: {
"require": "./src/test/js/shared/refdata_helper.js"
},
GenerateReportHelper: {
require: "./src/test/js/shared/generate_report_helper.js"
}
},
"include": {
"I": "./src/test/js/shared/custom_steps.js"
},
mocha: {
reporterOptions: {
'codeceptjs-cli-reporter': {
stdout: '-',
options: {
steps: true
}
},
'mocha-junit-reporter': {
stdout: './output/idam-web-public-mocha-stdout.log',
options: {
mochaFile: process.env.MOCHA_JUNIT_FILE_LOCATION || './build/test-results/smoke/idam-web-public-integration-result.xml'
}
},
'mochawesome': {
stdout: `./output/idam-web-public-mochawesome-stdout.log`,
options: {
reportDir: 'output',
reportFilename: 'idam-web-public-e2e-result',
inlineAssets: true,
reportTitle: `IDAM Web Public E2E tests result`
}
}
}
}
};