-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestplane.config.cts
49 lines (48 loc) · 1.26 KB
/
testplane.config.cts
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
import type { ConfigInput } from 'testplane';
export default {
baseUrl: 'http://localhost',
browsers: {
'chrome/yandex/opera': {
automationProtocol: 'devtools',
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
binary: 'C:\\Users\\goroc\\AppData\\Local\\Yandex\\YandexBrowser\\Application\\browser.exe'
}
},
headless: true
}
},
gridUrl: 'http://localhost:4444/wd/hub',
httpTimeout: 60000,
pageLoadTimeout: 0,
plugins: {
'@testplane/test-filter': {
// https://github.com/gemini-testing/testplane-test-filter
enabled: true,
inputFile: 'testplane-filter.json'
},
'@testplane/url-decorator': {
// https://github.com/gemini-testing/testplane-url-decorator
enabled: true,
url: {
query: {}
}
},
'html-reporter/testplane': {
defaultView: 'all',
diffMode: '3-up-scaled',
// https://github.com/gemini-testing/html-reporter
enabled: true,
path: 'testplane-report'
}
},
resetCursor: false,
sets: {
desktop: {
browsers: ['chrome/yandex/opera'],
files: ['**/tests/*.testplane.(t|j)s', '**/tests/*.testplane.(t|j)sx']
}
},
testTimeout: 90000
} satisfies ConfigInput;