diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eaead6b9..6bb3f731 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts - name: Prepare docker - run: docker pull yukinying/chrome-headless-browser-stable:114.0.5735.106 + run: docker pull yukinying/chrome-headless-browser-stable:118.0.5993.117 - name: Run unit tests run: DEBUG=loki:* yarn test-ci diff --git a/docs/command-line-arguments.md b/docs/command-line-arguments.md index a43dbdd0..61de1a66 100644 --- a/docs/command-line-arguments.md +++ b/docs/command-line-arguments.md @@ -29,7 +29,7 @@ yarn loki test -- --port 9009 | **`--chromeAwsLambdaFunctionName`** | Name of the use to capture screenshots. | `loki` | | **`--chromeAwsLambdaRetries`** | The number of retries for invoking the lambda, in case of failure. | `0` | | **`--chromeConcurrency`** | How many stories to test in parallel when using chrome | `4` | -| **`--chromeDockerImage`** | What docker image to use when running chrome | `yukinying/chrome-headless-browser-stable:114.0.5735.106` | +| **`--chromeDockerImage`** | What docker image to use when running chrome | `yukinying/chrome-headless-browser-stable:118.0.5993.117` | | **`--chromeDockerWithoutSeccomp`** | Run chrome docker without custom seccomp settings. | `false` | | **`--chromeDockerUseCopy`** | Use docker copy instead of volume mount for local stories | `false` | | **`--chromeEnableAnimations`** | Enable CSS transitions and animations. | `false` | diff --git a/packages/runner/src/commands/test/default-options.json b/packages/runner/src/commands/test/default-options.json index f362a5da..92e9f5bd 100644 --- a/packages/runner/src/commands/test/default-options.json +++ b/packages/runner/src/commands/test/default-options.json @@ -4,7 +4,7 @@ "chromeAwsLambdaBatchSize": "1", "chromeAwsLambdaBatchConcurrency": "1", "chromeConcurrency": "4", - "chromeDockerImage": "yukinying/chrome-headless-browser-stable:114.0.5735.106", + "chromeDockerImage": "yukinying/chrome-headless-browser-stable:118.0.5993.117", "chromeFlags": "--headless --disable-gpu --hide-scrollbars", "chromeLoadTimeout": "60000", "chromeRetries": "0", diff --git a/packages/target-chrome-docker/src/create-chrome-docker-target.js b/packages/target-chrome-docker/src/create-chrome-docker-target.js index bc903c5a..032a672d 100644 --- a/packages/target-chrome-docker/src/create-chrome-docker-target.js +++ b/packages/target-chrome-docker/src/create-chrome-docker-target.js @@ -43,7 +43,7 @@ const waitOnCDPAvailable = (host, port) => function createChromeDockerTarget({ baseUrl = 'http://localhost:6006', - chromeDockerImage = 'yukinying/chrome-headless-browser-stable:114.0.5735.106', + chromeDockerImage = 'yukinying/chrome-headless-browser-stable:118.0.5993.117', chromeFlags = ['--headless', '--disable-gpu', '--hide-scrollbars'], dockerNet = null, dockerWithSudo = false,