tests: Install full chromium package

Revert the downgrade from commit 168e0397aa and install the full
chromium package instead. This has a lot more dependencies, but is not
affected by the Ctrl+A keyDown crash.
This commit is contained in:
Martin Pitt 2021-02-19 09:28:47 +01:00
parent af08cc079f
commit 941ebae5e7

View File

@ -13,24 +13,13 @@ mkdir -p "$LOGS"
chmod a+w "$LOGS"
# install browser; on RHEL, use chromium from epel
# 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
else
# HACK: chromium-headless ought to be enough, but version 88 has a crash: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
if ! rpm -q chromium; 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
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
dnf install -y chromium
fi
# make libpwquality less aggressive, so that our "foobar" password works