Merge pull request #20846 from woocommerce/fix/e2e-tests
Enable SCRIPT_DEBUG on e2e tests
This commit is contained in:
commit
a26530f84a
|
@ -175,6 +175,7 @@ install_e2e_site() {
|
||||||
php wp-cli.phar core config --dbname=$DB_NAME --dbuser=$DB_USER --dbpass=$DB_PASS --dbhost=$DB_HOST --dbprefix=wp_ --extra-php <<PHP
|
php wp-cli.phar core config --dbname=$DB_NAME --dbuser=$DB_USER --dbpass=$DB_PASS --dbhost=$DB_HOST --dbprefix=wp_ --extra-php <<PHP
|
||||||
/* Change WP_MEMORY_LIMIT to increase the memory limit for public pages. */
|
/* Change WP_MEMORY_LIMIT to increase the memory limit for public pages. */
|
||||||
define('WP_MEMORY_LIMIT', '256M');
|
define('WP_MEMORY_LIMIT', '256M');
|
||||||
|
define('SCRIPT_DEBUG', true);
|
||||||
PHP
|
PHP
|
||||||
php wp-cli.phar core install --url="$WP_SITE_URL" --title="Example" --admin_user=admin --admin_password=password --admin_email=info@example.com --path=$WP_CORE_DIR --skip-email
|
php wp-cli.phar core install --url="$WP_SITE_URL" --title="Example" --admin_user=admin --admin_password=password --admin_email=info@example.com --path=$WP_CORE_DIR --skip-email
|
||||||
php wp-cli.phar db import $WP_DB_DATA
|
php wp-cli.phar db import $WP_DB_DATA
|
||||||
|
|
Loading…
Reference in New Issue