Skip to content

Commit

Permalink
FIX CI failing on install_chrome_for_tests (#1422)
Browse files Browse the repository at this point in the history
## Context

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.
```

## Proposed solution

The option was added to `apt-get`

## Related issues

The PR fixes #1421

## Has this been tested?

By running the CI while proposing PR
  • Loading branch information
hexaltation authored Feb 5, 2025
1 parent 81423b2 commit 3d145bb
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 3d145bb

Please sign in to comment.