File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,4 @@ wp option set woocommerce_product_type "both"
19
19
wp option set woocommerce_allow_tracking " no"
20
20
21
21
echo " Importing WooCommerce shop pages..."
22
- wp wc --user=admin tool run install_pages
23
-
24
-
25
-
26
- echo " Installing and activating the WordPress Importer plugin..."
27
- wp plugin install wordpress-importer --activate
28
-
29
- echo " Importing some sample data..."
30
- wp import wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=skip
22
+ wp wc --user=admin tool run install_pages
Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ beforeAll( async () => {
243
243
enablePageDialogAccept ( ) ;
244
244
observeConsoleLogging ( ) ;
245
245
await trashExistingPosts ( ) ;
246
+ await importSampleProducts ( ) ;
246
247
await setupBrowser ( ) ;
247
248
} ) ;
248
249
You can’t perform that action at this time.
0 commit comments