fmf: Go back to firefox distro version

By now the packaged firefox contains CDP. This makes the tests more
robust against CDP breakage in nightly.
This commit is contained in:
Martin Pitt 2021-12-15 07:50:02 +01:00 committed by Marius Vollmer
parent 7be9253229
commit 9e162423eb

View file

@ -12,12 +12,9 @@ LOGS="$(pwd)/logs"
mkdir -p "$LOGS" mkdir -p "$LOGS"
chmod a+w "$LOGS" chmod a+w "$LOGS"
# install firefox (available everywhere in Fedora and RHEL); install the package to pull in all the dependencies # install firefox (available everywhere in Fedora and RHEL)
# we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760) # we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760)
dnf install --disablerepo=fedora-cisco-openh264 -y firefox dnf install --disablerepo=fedora-cisco-openh264 -y firefox
# install nightly for Chrome DevTools Protocol support
curl --location 'https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US' | tar -C /usr/local/lib/ -xj
ln -s /usr/local/lib/firefox/firefox /usr/local/bin/
# create user account for logging in # create user account for logging in
if ! id admin 2>/dev/null; then if ! id admin 2>/dev/null; then