Skip to content

Commit

Permalink
chore(qa): Do not run landingPageButtonsTest if there are no buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Costa committed Dec 16, 2020
1 parent 5b5b267 commit 42f77f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 42f77f6

Please sign in to comment.