-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
34 lines (32 loc) · 895 Bytes
/
Copy pathcodecept.conf.js
File metadata and controls
34 lines (32 loc) · 895 Bytes
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
const path = require('path')
const TestBaseDirectory = 'tests'
exports.config = {
name: 'codeceptjs-magento',
tests: path.join('.', TestBaseDirectory, '**', '*.test.js'), // Look for tests in all subfolders
output: './output',
helpers: {
TestCafe: {
url: 'http://34.221.169.243',
browser: 'chrome',
show: false
}
},
include: {
HomePage: `./${TestBaseDirectory}/v1/pages/home.page.js`,
SignIn: `./${TestBaseDirectory}/v1/pages/signIn.page.js`,
Index: `./${TestBaseDirectory}/v1/pages/index.page.js`,
Cart: `./${TestBaseDirectory}/v1/pages/cart.page.js`,
Checkout: `./${TestBaseDirectory}/v1/pages/checkout.page.js`,
Success: `./${TestBaseDirectory}/v1/pages/success.page.js`
},
bootstrap: null,
mocha: {},
plugins: {
retryFailedStep: {
enabled: false
},
screenshotOnFail: {
enabled: false
}
}
}