diff --git a/scripts/pit/lib/lib-cc.sh b/scripts/pit/lib/lib-cc.sh index c31aeb2f..85a47178 100644 --- a/scripts/pit/lib/lib-cc.sh +++ b/scripts/pit/lib/lib-cc.sh @@ -190,10 +190,11 @@ runControlCenter() { installCC || waitForCC 400 || return 1 [ -n "$CC_KEY" -a -n "$CC_CERT" ] && installTls || return 1 forwardIngress || return 1 + sleep 2 tmp_pass=`kubectl -n $CC_NS get secret control-center-user -o go-template="{{ .data.password | base64decode | println }}"` log "Control Center installed, login to https://$CC_CONTROL with the username $CC_EMAIL and password: $tmp_pass" test=`computeAbsolutePath`/its/cc-setup.js - echo "$test" + checkPort 443 || return 1 runPlaywrightTests "$test" "" "prod" "control-center" --url=https://$CC_CONTROL --email=$CC_EMAIL deleteCluster ;;