Skip to content

Commit 3eb8fe0

Browse files
committed
Bump default chrome docker version
1 parent 3ab5f6d commit 3eb8fe0

File tree

5 files changed

+6
-1541
lines changed

5 files changed

+6
-1541
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts
2525
- name: Prepare docker
26-
run: docker pull yukinying/chrome-headless-browser-stable:100.0.4896.127
26+
run: docker pull yukinying/chrome-headless-browser-stable:118.0.5993.117
2727
- name: Run unit tests
2828
run: yarn test-ci
2929

docs/command-line-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ yarn loki test -- --port 9009
2929
| **`--chromeAwsLambdaFunctionName`** | Name of the use to capture screenshots. | `loki` |
3030
| **`--chromeAwsLambdaRetries`** | The number of retries for invoking the lambda, in case of failure. | `0` |
3131
| **`--chromeConcurrency`** | How many stories to test in parallel when using chrome | `4` |
32-
| **`--chromeDockerImage`** | What docker image to use when running chrome | `yukinying/chrome-headless-browser-stable:100.0.4896.127` |
33-
| **`--chromeDockerWithoutSeccomp`** | Run chrome docker without custom seccomp settings. | `false` |
32+
| **`--chromeDockerImage`** | What docker image to use when running chrome | `yukinying/chrome-headless-browser-stable:118.0.5993.117` |
33+
| **`--chromeDockerWithoutSeccomp`** | Run chrome docker without unconfined seccomp settings. | `false` |
3434
| **`--chromeDockerUseCopy`** | Use docker copy instead of volume mount for local stories | `false` |
3535
| **`--chromeEnableAnimations`** | Enable CSS transitions and animations. | `false` |
3636
| **`--chromeFlags`** | Custom chrome flags. | `--headless --disable-gpu --hide-scrollbars` |

packages/runner/src/commands/test/default-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"chromeAwsLambdaBatchSize": "1",
55
"chromeAwsLambdaBatchConcurrency": "1",
66
"chromeConcurrency": "4",
7-
"chromeDockerImage": "yukinying/chrome-headless-browser-stable:100.0.4896.127",
7+
"chromeDockerImage": "yukinying/chrome-headless-browser-stable:118.0.5993.117",
88
"chromeFlags": "--headless --disable-gpu --hide-scrollbars",
99
"chromeLoadTimeout": "60000",
1010
"chromeRetries": "0",

packages/target-chrome-docker/src/create-chrome-docker-target.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const waitOnCDPAvailable = (host, port) =>
4343

4444
function createChromeDockerTarget({
4545
baseUrl = 'http://localhost:6006',
46-
chromeDockerImage = 'yukinying/chrome-headless-browser-stable:100.0.4896.127',
46+
chromeDockerImage = 'yukinying/chrome-headless-browser-stable:118.0.5993.117',
4747
chromeFlags = ['--headless', '--disable-gpu', '--hide-scrollbars'],
4848
dockerNet = null,
4949
dockerWithSudo = false,
@@ -62,7 +62,7 @@ function createChromeDockerTarget({
6262
const execute = getExecutor(dockerWithSudo);
6363

6464
if (!chromeDockerWithoutSeccomp) {
65-
runArgs.push(`--security-opt=seccomp=${__dirname}/docker-seccomp.json`);
65+
runArgs.push('--security-opt=seccomp=unconfined');
6666
}
6767
runArgs.push('--add-host=host.docker.internal:host-gateway');
6868

0 commit comments

Comments
 (0)