tests: Pull in older version on chromium
To work around https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
This commit is contained in:
parent
18a7b9c999
commit
168e0397aa
@ -9,12 +9,19 @@ mkdir -p "$LOGS"
|
||||
chmod a+w "$LOGS"
|
||||
|
||||
# install browser; on RHEL, use chromium from epel
|
||||
if ! rpm -q chromium-headless; then
|
||||
if grep -q 'ID=.*rhel' /etc/os-release; then
|
||||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
||||
dnf config-manager --enable epel
|
||||
fi
|
||||
dnf install -y chromium-headless
|
||||
# HACK: chromium 88 crashes with some keyDown commands: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
|
||||
if rpm -q chromium-headless; then
|
||||
dnf remove -y chromium-headless
|
||||
fi
|
||||
|
||||
if grep -q 'ID=.*rhel' /etc/os-release; then
|
||||
dnf install -y \
|
||||
https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.el8/x86_64/chromium-common-87.0.4280.141-1.el8.x86_64.rpm \
|
||||
https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.el8/x86_64/chromium-headless-87.0.4280.141-1.el8.x86_64.rpm
|
||||
else
|
||||
dnf install -y \
|
||||
https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.fc33/x86_64/chromium-common-87.0.4280.141-1.fc33.x86_64.rpm \
|
||||
https://kojipkgs.fedoraproject.org//packages/chromium/87.0.4280.141/1.fc33/x86_64/chromium-headless-87.0.4280.141-1.fc33.x86_64.rpm
|
||||
fi
|
||||
|
||||
# make libpwquality less aggressive, so that our "foobar" password works
|
||||
|
Loading…
Reference in New Issue
Block a user