From 42f77f61ebb6332964d1bc4a9ac53d91e0b8f758 Mon Sep 17 00:00:00 2001 From: Marcelo Costa Date: Wed, 16 Dec 2020 15:15:11 -0600 Subject: [PATCH] chore(qa): Do not run landingPageButtonsTest if there are no buttons --- run-tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run-tests.sh b/run-tests.sh index 9b6a3890c..22c52e697 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -377,6 +377,11 @@ elif ! (g3kubectl get pods --no-header -l app=requestor | grep requestor) > dev/ donot '@studyViewer' fi +# landing page buttons +if [[ $(curl -s "$portalConfigURL" | jq '.components | contains({buttons}) | not') == "true" ]] || [[ ! -z "$testedEnv" ]]; then + donot '@landing' +fi + if ! (g3kubectl get pods --no-headers -l app=manifestservice | grep manifestservice) > /dev/null 2>&1 || ! (g3kubectl get pods --no-headers -l app=wts | grep wts) > /dev/null 2>&1; then donot '@exportToWorkspaceAPI'