Skip to content

Commit

Permalink
LPD-23693 Allow script content by default in E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinhoFeliphe authored and brianchandotcom committed May 7, 2024
1 parent 2e7a491 commit c0d186d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4499,6 +4499,12 @@ tell application "Safari" to quit
</sequential>
</macrodef>

<macrodef name="prepare-selenium-script-management-config">
<sequential>
<echo file="${liferay.home}/osgi/configs/com.liferay.portal.security.script.management.configuration.ScriptManagementConfiguration.config" force="true">allowScriptContentToBeExecutedOrIncluded="true"</echo>
</sequential>
</macrodef>

<macrodef name="prepare-selenium-sharepoint-properties">
<sequential>
<if>
Expand Down Expand Up @@ -13423,6 +13429,7 @@ captcha.enforce.disabled=true</echo>
<prepare-selenium-recaptcha-properties />
<prepare-selenium-required-properties />
<prepare-selenium-sharepoint-properties />
<prepare-selenium-script-management-config />
<prepare-selenium-site-initializer-raylife-d2c-paypal-properties />
<prepare-selenium-testcase-properties />

Expand Down

0 comments on commit c0d186d

Please sign in to comment.