-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
41 lines (41 loc) · 866 Bytes
/
Copy pathcodecept.conf.js
File metadata and controls
41 lines (41 loc) · 866 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
35
36
37
38
39
40
41
exports.config = {
output: "./output",
helpers: {
WebDriverIO: {
host: process.profile || "localhost",
url: "https://www.ebay.com.au",
browser: "chrome",
},
},
include: {
homePage: "./pages/home.js",
searchResultPage: "./pages/searchResult.js",
productPage: "./pages/product.js",
cartPage: "./pages/cart.js",
addToCartModal: "./fragments/addToCartModal.js",
searchBar: "./fragments/searchBar.js",
topNavigationBar: "./fragments/topNavigationBar"
},
mocha: {
reporterOptions: {
reportDir: "output"
}
},
bootstrap: false,
teardown: null,
hooks: [],
gherkin: {},
plugins: {
screenshotOnFail: {
enabled: true
}
},
multiple: {
parallel: {
browsers: ["chrome", "firefox"]
}
},
tests: "./tests/*_test.js",
timeout: 10000,
name: "eBayTest"
}