@telefonica/acceptance-testing 3.0.0-beta7 → 3.0.0-beta9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docker-compose.yaml +1 -1
- package/jest-puppeteer-config.js +2 -4
- package/package.json +1 -1
package/docker-compose.yaml
CHANGED
package/jest-puppeteer-config.js
CHANGED
|
@@ -85,10 +85,10 @@ const getPuppeteerConfig = async () => {
|
|
|
85
85
|
const config = {
|
|
86
86
|
launch: {
|
|
87
87
|
...baseConnectOrLaunchConfig,
|
|
88
|
-
//
|
|
88
|
+
// launch chromium installed in docker in CI
|
|
89
89
|
...(isCi ? {executablePath: '/usr/bin/chromium'} : {}),
|
|
90
90
|
dumpio: true,
|
|
91
|
-
//
|
|
91
|
+
// arguments must be the same as the ones defined in web-builder Dockerfile. Except the remote-debugging settings
|
|
92
92
|
args: [
|
|
93
93
|
'--lang=es_ES',
|
|
94
94
|
'--disable-background-networking',
|
|
@@ -118,8 +118,6 @@ const getPuppeteerConfig = async () => {
|
|
|
118
118
|
'--font-render-hinting=none',
|
|
119
119
|
'--disable-font-subpixel-positioning',
|
|
120
120
|
'--ignore-certificate-errors',
|
|
121
|
-
// '--remote-debugging-port=9222', // https://github.com/puppeteer/puppeteer/issues/8546
|
|
122
|
-
// '--remote-debugging-address=0.0.0.0',
|
|
123
121
|
],
|
|
124
122
|
},
|
|
125
123
|
browserContext: 'incognito',
|