2020-04-02 17:34:00 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Initializing WooCommerce E2E"
|
|
|
|
|
2021-01-13 11:27:11 +00:00
|
|
|
wp plugin activate woocommerce
|
2020-04-02 17:34:00 +00:00
|
|
|
wp theme install twentynineteen --activate
|
2021-01-13 11:27:11 +00:00
|
|
|
wp user create customer customer@woocommercecoree2etestsuite.com --user_pass=password --role=subscriber --path=/var/www/html
|
2020-07-02 17:50:56 +00:00
|
|
|
|
|
|
|
# we cannot create API keys for the API, so we using basic auth, this plugin allows that.
|
|
|
|
wp plugin install https://github.com/WP-API/Basic-Auth/archive/master.zip --activate
|