Skip to content

Commit

Permalink
Merge pull request #531 from uc-cdis/chore/do_not_run_landingPageButt…
Browse files Browse the repository at this point in the history
…ons_test_if_there_are_no_buttons

chore(qa): Do not run landingPageButtonsTest if there are no buttons
  • Loading branch information
github-actions[bot] authored Dec 16, 2020
2 parents 5b5b267 + 42f77f6 commit f98078f
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 f98078f

Please sign in to comment.