diff --git a/build-test-weblogic.xml b/build-test-weblogic.xml index 8e1e0223185c4c..1b56424076528e 100644 --- a/build-test-weblogic.xml +++ b/build-test-weblogic.xml @@ -47,4 +47,32 @@ + + + + + + app.server.type=weblogic + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/test/playwright/env/common.sh b/modules/test/playwright/env/common.sh index f8a4cfb73e4b0b..c29af30309babe 100644 --- a/modules/test/playwright/env/common.sh +++ b/modules/test/playwright/env/common.sh @@ -568,6 +568,8 @@ function start_app_server { /bin/bash catalina.sh run & elif [[ "${APP_SERVER_TYPE}" == "weblogic" ]] then + ant -f build-test-weblogic.xml setup-weblogic-playwright + cd ${app_server_dir}/domains/liferay /bin/bash startWeblogic.sh @@ -676,19 +678,13 @@ function stop_app_server { cd $(get_app_server_dir ${liferay_home})/bin - if [[ "${APP_SERVER_TYPE}" == "jboss" || "${APP_SERVER_TYPE}" == "wildfly" ]] + if [[ "${APP_SERVER_TYPE}" == "tomcat" ]] then + /bin/bash shutdown.sh & + else cd ${_PORTAL_PROJECT_DIR} ant -f build-test.xml stop-app-server - elif [[ "${APP_SERVER_TYPE}" == "tomcat" ]] - then - /bin/bash shutdown.sh & - elif [[ "${APP_SERVER_TYPE}" == "weblogic" ]] - then - cd ${app_server_dir}/domains/liferay - - /bin/bash startWeblogic.sh fi local portal_url=${2}