Skip to content

Commit

Permalink
FIX CI failing on install_chrome_for_tests
Browse files Browse the repository at this point in the history
The CI Fails on install_chrome_for_tests.sh
The error indicates that
```bash
E: Packages were downgraded and -y was used without --allow-downgrades.
```

The option was added to `apt-get`

The PR fixes #1421
  • Loading branch information
hexaltation committed Feb 5, 2025
1 parent 81423b2 commit fce683c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildtools/install_chrome_for_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ if [[ "$(uname -m)" != "x86_64" ]]; then
fi

curl -sS -o /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \
&& sudo apt-get install -y /tmp/chrome.deb \
&& sudo apt-get install --allow-downgrades -y /tmp/chrome.deb \
&& rm /tmp/chrome.deb \
&& node_modules/selenium-webdriver/bin/linux/selenium-manager --driver chromedriver

0 comments on commit fce683c

Please sign in to comment.