From a63c632496330c9402356dd02013a838e5fc02f8 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 16 Oct 2024 13:19:36 -0700 Subject: [PATCH] tests: functional: Add package for printing test failures instantly - Makes it easy to investigate functional test failures as the test are run. - This will help functional tests that are timing out before failure stack traces can be shown. Signed-off-by: Sunil Mohan Adapa --- plinth/tests/functional/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/tests/functional/install.sh b/plinth/tests/functional/install.sh index 678e7b768..a51cfbb1c 100755 --- a/plinth/tests/functional/install.sh +++ b/plinth/tests/functional/install.sh @@ -4,8 +4,8 @@ IFS=$'\n\t' echo "Installing requirements" sudo apt-get install -yq --no-install-recommends \ - python3-pytest python3-pytest-django python3-pytest-xdist \ - python3-pip python3-wheel firefox-esr git smbclient + python3-pytest python3-pytest-django python3-pytest-instafail \ + python3-pytest-xdist python3-pip python3-wheel firefox-esr git smbclient # Use compatible versions of Splinter and Selenium PIP_VERSION=$(dpkg-query -W -f '${Version}' python3-pip)