-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move env setup out of docker init and in before running e2e tests
- Loading branch information
mattallan
committed
Jul 8, 2020
1 parent
23589ee
commit a5ea52e
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ wp rewrite structure '/%postname%/' | |
echo "Initializing WooCommerce E2E" | ||
wp plugin install woocommerce --activate | ||
wp theme install storefront --activate | ||
wp user create customer [email protected] --user_pass=password --role=customer --path=/var/www/html | ||
wp user create customer [email protected] --user_pass=password --role=customer | ||
|
||
echo "Adding basic WooCommerce settings..." | ||
wp option set woocommerce_store_address "60 29th Street" | ||
|
@@ -19,4 +19,10 @@ wp option set woocommerce_product_type "both" | |
wp option set woocommerce_allow_tracking "no" | ||
|
||
echo "Importing WooCommerce shop pages..." | ||
wp wc --user=admin tool run install_pages | ||
wp wc --user=admin tool run install_pages | ||
|
||
echo "Installing and activating the WordPress Importer plugin..." | ||
wp plugin install wordpress-importer --activate | ||
|
||
echo "Importing some sample data..." | ||
wp import wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters