test: Pull in older version on chromium
This commit is contained in:
parent
2d2a16ed94
commit
d313d525e8
@ -12,13 +12,20 @@ LOGS="$(pwd)/logs"
|
|||||||
mkdir -p "$LOGS"
|
mkdir -p "$LOGS"
|
||||||
chmod a+w "$LOGS"
|
chmod a+w "$LOGS"
|
||||||
|
|
||||||
# install browser; on RHEL, use chromium from epel
|
# Install browser
|
||||||
if ! rpm -q chromium-headless; then
|
# HACK: chromium 88 crashes with some keyDown commands: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
|
||||||
if grep -q 'ID=.*rhel' /etc/os-release; then
|
if rpm -q chromium-headless; then
|
||||||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
dnf remove -y chromium-headless
|
||||||
dnf config-manager --enable epel
|
fi
|
||||||
fi
|
|
||||||
dnf install -y chromium-headless
|
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
|
fi
|
||||||
|
|
||||||
# create user account for logging in
|
# create user account for logging in
|
||||||
|
Loading…
Reference in New Issue
Block a user