mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Support UI testing on the latest Google Chrome
This commit is contained in:
parent
3a1d0f3695
commit
4f6023e44c
3
scripts/install-ui-test-dependencies.sh
Executable file → Normal file
3
scripts/install-ui-test-dependencies.sh
Executable file → Normal file
@ -4,4 +4,5 @@ npm install --no-save \
|
|||||||
wdio-mocha-framework@^0.6.4 \
|
wdio-mocha-framework@^0.6.4 \
|
||||||
wdio-spec-reporter@^0.1.5 \
|
wdio-spec-reporter@^0.1.5 \
|
||||||
webdriverio@^4.14.1 \
|
webdriverio@^4.14.1 \
|
||||||
chromedriver@2
|
chromedriver@^78.0.1 \
|
||||||
|
@wdio/cli@^5.15.6
|
||||||
|
@ -61,7 +61,7 @@ exports.config = {
|
|||||||
maxInstances: 2,
|
maxInstances: 2,
|
||||||
//
|
//
|
||||||
browserName: 'chrome',
|
browserName: 'chrome',
|
||||||
chromeOptions: {
|
'goog:chromeOptions': {
|
||||||
args: process.env.NODE_RED_NON_HEADLESS
|
args: process.env.NODE_RED_NON_HEADLESS
|
||||||
// Runs tests with opening a browser.
|
// Runs tests with opening a browser.
|
||||||
? ['--disable-gpu']
|
? ['--disable-gpu']
|
||||||
@ -134,7 +134,7 @@ exports.config = {
|
|||||||
// Services take over a specific job you don't want to take care of. They enhance
|
// Services take over a specific job you don't want to take care of. They enhance
|
||||||
// your test setup with almost no effort. Unlike plugins, they don't add new
|
// your test setup with almost no effort. Unlike plugins, they don't add new
|
||||||
// commands. Instead, they hook themselves up into the test process.
|
// commands. Instead, they hook themselves up into the test process.
|
||||||
port: '9515',
|
port: 9515,
|
||||||
path: '/',
|
path: '/',
|
||||||
services: ['chromedriver'],
|
services: ['chromedriver'],
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user