diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2017-09-08 23:21:29 +0300 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2017-09-08 23:21:29 +0300 |
commit | 6f4c08df7f0789075e195dbcc5d4698750cec92f (patch) | |
tree | 32f1d8754a1b2825641344405bea2200be115ccc /build.xml | |
parent | abe3cab712a35db874380f722c735f89a08fdc14 (diff) |
.......... [DEV-665] added screenshots for Selenium tests
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml index 1d9b9083e0f..3cd82ed940c 100644 --- a/build.xml +++ b/build.xml @@ -13,12 +13,15 @@ <property name="dbhost" value="${DBHOST}"/> <property name="dbname" value="${DBNAME}"/> <property name="dbuser" value="${DBUSER}"/> - <property name="dbpassword" value="${DBPASSWORD}"/> + <property name="dbpassword" value="${DBPASSWORD}"/> + <property environment="env"/> <!-- Create bootstrap.php --> <copy overwrite="true" file="frontends/php/tests/bootstrap.php.template" tofile="frontends/php/tests/bootstrap.php"/> <replace file="frontends/php/tests/bootstrap.php" token="{URL}" value="${url}"/> <replace file="frontends/php/tests/bootstrap.php" token="{BASEDIR}" value="${basedir}"/> + <replace file="frontends/php/tests/bootstrap.php" token="{SCREENSHOT_DIR}" value="${env.SCREENSHOT_DIR}"/> + <replace file="frontends/php/tests/bootstrap.php" token="{SCREENSHOT_URL}" value="${env.SCREENSHOT_URL}"/> <!-- Create PHP config file --> <copy overwrite="true" file="tests/templates/zabbix.conf.php" tofile="frontends/php/conf/zabbix.conf.php"/> |