|
1 | 1 | version: 2.1 |
2 | 2 |
|
3 | | -chrome-stable-version: &chrome-stable-version "137.0.7151.68" |
4 | | -chrome-beta-version: &chrome-beta-version "138.0.7204.15" |
| 3 | +chrome-stable-version: &chrome-stable-version "137.0.7151.103" |
| 4 | +chrome-beta-version: &chrome-beta-version "138.0.7204.23" |
5 | 5 | firefox-stable-version: &firefox-stable-version "137.0" |
6 | 6 |
|
7 | 7 | orbs: |
8 | | - browser-tools: circleci/browser-tools@2.0.0 |
| 8 | + browser-tools: circleci/browser-tools@2.1.1 |
9 | 9 |
|
10 | 10 | defaults: &defaults |
11 | 11 | parallelism: 1 |
@@ -582,11 +582,6 @@ commands: |
582 | 582 | description: whether or not to install google chrome for testing |
583 | 583 | type: boolean |
584 | 584 | default: false |
585 | | - google-chrome-for-testing-channel: |
586 | | - description: Google Chrome for Testing channel to install |
587 | | - type: string |
588 | | - # can be stable, beta, dev, or canary |
589 | | - default: stable |
590 | 585 | google-chrome-for-testing-version: |
591 | 586 | description: Google Chrome for Testing version to install |
592 | 587 | type: string |
@@ -639,13 +634,13 @@ commands: |
639 | 634 | equal: [ true, << parameters.install-chrome-for-testing >> ] |
640 | 635 | steps: |
641 | 636 | - run: |
642 | | - name: Install Chrome for Testing and link it to google-chrome |
| 637 | + name: Install unzip |
643 | 638 | command: | |
644 | | - INSTALL_OUTPUT=$(npx @puppeteer/browsers install chrome@<<parameters.google-chrome-version>> --path /tmp/chrome-for-testing) |
645 | | - DOWNLOAD_DIR=$(echo "$INSTALL_OUTPUT" | grep -o '\/.*\/chrome-linux64') |
646 | | - mv $DOWNLOAD_DIR /opt/chrome-for-testing |
647 | | - ln -fs /opt/chrome-for-testing/chrome /usr/local/bin/chrome |
648 | | - rm -rf /tmp/chrome-for-testing |
| 639 | + apt-get update && apt-get install -y unzip |
| 640 | + - browser-tools/install_chrome_for_testing: |
| 641 | + version: << parameters.google-chrome-for-testing-version >> |
| 642 | + install_chromedriver: false |
| 643 | + |
649 | 644 | # This code builds better-sqlite3 on Debian 10 (Buster). This is necessary because Debian 10 has the oldest glibc version (2.28) that we support. |
650 | 645 | # |
651 | 646 | # Since this is running Docker remote (because the job running the command may not be using an executor with the appropriate glibc version), we need to |
|
0 commit comments