diff --git a/scripts/pit/its/test-utils.js b/scripts/pit/its/test-utils.js index f435a7e5..994fcb41 100644 --- a/scripts/pit/its/test-utils.js +++ b/scripts/pit/its/test-utils.js @@ -67,7 +67,7 @@ async function createPage(headless, ignoreHTTPSErrors) { const page = await context.newPage(); page.on('console', msg => { const text = `${msg.text()} - ${msg.location().url}`.replace(/\s+/g, ' '); - if (!/vaadinPush/.test(msg)) out("> CONSOLE:", text, '\n'); + if (!/vaadinPush/.test(text)) out("> CONSOLE:", text, '\n'); }); page.on('pageerror', e => warn("> JSERROR:", ('' + e).replace(/\s+/g, ' '), '\n')); page.browser = browser; diff --git a/scripts/pit/lib/lib-ccenter.sh b/scripts/pit/lib/lib-ccenter.sh index 442887ae..62a2197a 100644 --- a/scripts/pit/lib/lib-ccenter.sh +++ b/scripts/pit/lib/lib-ccenter.sh @@ -146,11 +146,12 @@ showTemporaryPassword() { ## Run Playwright tests for the control-center runPwTests() { computeNpm + [ -d screenshots.out ] && runCmd "$TEST" "Removing old screenshots" "rm -rf screenshots.out" [ -n "$SKIPPW" ] && return 0 [ -z "$CC_CERT" -o -z "$CC_KEY" ] && NO_TLS=--notls || NO_TLS="" for f in $CC_TESTS; do runPlaywrightTests "$PIT_SCR_FOLDER/its/$f" "" "prod" "control-center" --url=https://$CC_CONTROL --login=$CC_EMAIL $NO_TLS || return 1 - [ "$f" = cc-install-apps.js ] && reloadIngress && ls -l && cat *.pem && checkTls + [ "$f" = cc-install-apps.js ] && reloadIngress sleep 3 done } diff --git a/scripts/pit/run.sh b/scripts/pit/run.sh index f440b21c..cbb8c33f 100755 --- a/scripts/pit/run.sh +++ b/scripts/pit/run.sh @@ -104,10 +104,6 @@ main() { if [ $i = control-center ]; then mkdir -p tmp/$i && cd tmp/$i run runControlCenter $i - if [ $? != 0 ]; then - kubectl get pods -n $CC_NS - ps -feaww | grep kubectl - fi cd "$pwd" continue elif expr "$i" : '.*_jdk' >/dev/null; then