diff --git a/Makefile b/Makefile index 5cb39a71..7aee60c3 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,10 @@ watch: # Build the Phar file of the CD Client. build: @cp -r src src-tmp - @docker run --rm \ + @COMPOSER_HOME_DIR=$$(composer config --global home); \ + docker run --rm \ --volume ${PWD}/src-tmp:/app \ - --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \ + --volume $${COMPOSER_HOME_DIR}:/tmp \ --user "$(shell id -u):$(shell id -g)" \ composer \ install --no-dev --quiet --optimize-autoloader --ignore-platform-reqs diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_rc_74__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_rc_74__1.php index 9e9efc76..4198c421 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_rc_74__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_rc_74__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 5 failed, 57 passed, 62 total | Tests: 194 skipped, 7 failed, 33 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 4 failed, 60 passed, 64 total | Tests: 204 skipped, 7 failed, 40 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -40,14 +40,14 @@ }, { "test_result_json": { - "numFailedTestSuites": 5, - "numPassedTestSuites": 57, + "numFailedTestSuites": 4, + "numPassedTestSuites": 60, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 7, - "numPassedTests": 33, - "numPendingTests": 194, - "numTotalTests": 234, + "numPassedTests": 40, + "numPendingTests": 204, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "failed", + "has_pending": true, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "failed" + }, + { + "title": "downloads revenue report as CSV", + "status": "pending" + }, + { + "title": "use date filter on overview page", + "status": "pending" + }, + { + "title": "use date filter on revenue report", + "status": "pending" + }, + { + "title": "set custom date range on revenue report", + "status": "pending" + }, + { + "title": "analytics settings", + "status": "pending" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "failed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "failed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "failed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "failed", @@ -318,28 +388,48 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "failed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "failed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "failed" } ] } }, { "file": "merchant\\/create-simple-product.spec.js", - "status": "failed", + "status": "passed", "has_pending": true, "tests": { "Add New Simple Product Page": [ { "title": "can create simple virtual product", - "status": "failed" + "status": "pending" }, { "title": "can have a shopper add the simple virtual product to the cart", @@ -358,21 +448,21 @@ }, { "file": "merchant\\/customer-payment-page.spec.js", - "status": "failed", - "has_pending": false, + "status": "passed", + "has_pending": true, "tests": { "WooCommerce Merchant Flow: Orders > Customer Payment Page": [ { "title": "should show the customer payment page link on a pending order", - "status": "failed" + "status": "pending" }, { "title": "should load the customer payment page", - "status": "failed" + "status": "pending" }, { "title": "can pay for the order through the customer payment page", - "status": "failed" + "status": "pending" } ] } @@ -380,25 +470,25 @@ { "file": "merchant\\/order-bulk-edit.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Bulk edit orders": [ { "title": "can bulk update order status", - "status": "passed" + "status": "pending" } ] } }, { "file": "merchant\\/order-coupon.spec.js", - "status": "failed", + "status": "passed", "has_pending": true, "tests": { "WooCommerce Orders > Apply Coupon": [ { "title": "can apply a coupon", - "status": "failed" + "status": "pending" }, { "title": "can remove a coupon", @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "pending" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "pending" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": true, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "pending" @@ -1538,7 +1625,7 @@ "status": "pending" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "pending" @@ -1548,7 +1635,7 @@ "status": "pending" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "pending" @@ -1558,7 +1645,7 @@ "status": "pending" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "pending" @@ -1580,20 +1667,11 @@ } } ], - "summary": "Test Suites: 0 skipped, 5 failed, 57 passed, 62 total | Tests: 194 skipped, 7 failed, 33 passed, 234 total." + "summary": "Test Suites: 0 skipped, 4 failed, 60 passed, 64 total | Tests: 204 skipped, 7 failed, 40 passed, 251 total." } }, { - "debug_log": [ - { - "count": "Less than 10", - "message": "PHP Notice: Trying to get property \'post_mime_type\' of non-object in \\/var\\/www\\/html\\/wp-admin\\/includes\\/post.php on line 273" - }, - { - "count": "Less than 10", - "message": "PHP Notice: Trying to get property \'post_type\' of non-object in \\/var\\/www\\/html\\/wp-admin\\/includes\\/post.php on line 272" - } - ] + "debug_log": [] } ] ]'; diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_stable_74__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_stable_74__1.php index 5e8d9f16..4198c421 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_stable_74__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_delete_products_stable_74__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 5 failed, 57 passed, 62 total | Tests: 194 skipped, 7 failed, 33 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 4 failed, 60 passed, 64 total | Tests: 204 skipped, 7 failed, 40 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -40,14 +40,14 @@ }, { "test_result_json": { - "numFailedTestSuites": 5, - "numPassedTestSuites": 57, + "numFailedTestSuites": 4, + "numPassedTestSuites": 60, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 7, - "numPassedTests": 33, - "numPendingTests": 194, - "numTotalTests": 234, + "numPassedTests": 40, + "numPendingTests": 204, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "failed", + "has_pending": true, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "failed" + }, + { + "title": "downloads revenue report as CSV", + "status": "pending" + }, + { + "title": "use date filter on overview page", + "status": "pending" + }, + { + "title": "use date filter on revenue report", + "status": "pending" + }, + { + "title": "set custom date range on revenue report", + "status": "pending" + }, + { + "title": "analytics settings", + "status": "pending" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "failed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "failed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "failed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "failed", @@ -318,28 +388,48 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "failed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "failed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "failed" } ] } }, { "file": "merchant\\/create-simple-product.spec.js", - "status": "failed", + "status": "passed", "has_pending": true, "tests": { "Add New Simple Product Page": [ { "title": "can create simple virtual product", - "status": "failed" + "status": "pending" }, { "title": "can have a shopper add the simple virtual product to the cart", @@ -358,21 +448,21 @@ }, { "file": "merchant\\/customer-payment-page.spec.js", - "status": "failed", - "has_pending": false, + "status": "passed", + "has_pending": true, "tests": { "WooCommerce Merchant Flow: Orders > Customer Payment Page": [ { "title": "should show the customer payment page link on a pending order", - "status": "failed" + "status": "pending" }, { "title": "should load the customer payment page", - "status": "failed" + "status": "pending" }, { "title": "can pay for the order through the customer payment page", - "status": "failed" + "status": "pending" } ] } @@ -380,25 +470,25 @@ { "file": "merchant\\/order-bulk-edit.spec.js", "status": "passed", - "has_pending": false, + "has_pending": true, "tests": { "Bulk edit orders": [ { "title": "can bulk update order status", - "status": "passed" + "status": "pending" } ] } }, { "file": "merchant\\/order-coupon.spec.js", - "status": "failed", + "status": "passed", "has_pending": true, "tests": { "WooCommerce Orders > Apply Coupon": [ { "title": "can apply a coupon", - "status": "failed" + "status": "pending" }, { "title": "can remove a coupon", @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "pending" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "pending" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": true, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "pending" @@ -1538,7 +1625,7 @@ "status": "pending" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "pending" @@ -1548,7 +1635,7 @@ "status": "pending" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "pending" @@ -1558,7 +1645,7 @@ "status": "pending" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "pending" @@ -1580,28 +1667,11 @@ } } ], - "summary": "Test Suites: 0 skipped, 5 failed, 57 passed, 62 total | Tests: 194 skipped, 7 failed, 33 passed, 234 total." + "summary": "Test Suites: 0 skipped, 4 failed, 60 passed, 64 total | Tests: 204 skipped, 7 failed, 40 passed, 251 total." } }, { - "debug_log": [ - { - "count": "Less than 10", - "message": "PHP Notice: Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.) in \\/var\\/www\\/html\\/wp-includes\\/functions.php on line 6031" - }, - { - "count": "Less than 10", - "message": "PHP Notice: Trying to get property \'ID\' of non-object in \\/var\\/www\\/html\\/wp-admin\\/includes\\/post.php on line 2132" - }, - { - "count": "Less than 10", - "message": "PHP Notice: Trying to get property \'post_mime_type\' of non-object in \\/var\\/www\\/html\\/wp-admin\\/includes\\/post.php on line 273" - }, - { - "count": "Less than 10", - "message": "PHP Notice: Trying to get property \'post_type\' of non-object in \\/var\\/www\\/html\\/wp-admin\\/includes\\/post.php on line 272" - } - ] + "debug_log": [] } ] ]'; diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_rc_82__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_rc_82__1.php index ced5315c..09b864c4 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_rc_82__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_rc_82__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -41,13 +41,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 62, + "numPassedTestSuites": 64, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 0, - "numPassedTests": 230, - "numPendingTests": 4, - "numTotalTests": 234, + "numPassedTests": 248, + "numPendingTests": 3, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "passed" + }, + { + "title": "downloads revenue report as CSV", + "status": "passed" + }, + { + "title": "use date filter on overview page", + "status": "passed" + }, + { + "title": "use date filter on revenue report", + "status": "passed" + }, + { + "title": "set custom date range on revenue report", + "status": "passed" + }, + { + "title": "analytics settings", + "status": "passed" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "passed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "passed", @@ -318,15 +388,35 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "passed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "passed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "passed" } ] } @@ -635,7 +725,7 @@ { "file": "merchant\\/page-loads.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Page Load > Load WooCommerce sub pages": [ { @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "passed" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "passed" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": false, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "passed" @@ -1538,7 +1625,7 @@ "status": "passed" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "passed" @@ -1548,7 +1635,7 @@ "status": "passed" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "passed" @@ -1558,7 +1645,7 @@ "status": "passed" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "passed" @@ -1580,7 +1667,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total." + "summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total." } }, { diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_stable_82__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_stable_82__1.php index ced5315c..09b864c4 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_stable_82__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_php82_stable_82__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -41,13 +41,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 62, + "numPassedTestSuites": 64, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 0, - "numPassedTests": 230, - "numPendingTests": 4, - "numTotalTests": 234, + "numPassedTests": 248, + "numPendingTests": 3, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "passed" + }, + { + "title": "downloads revenue report as CSV", + "status": "passed" + }, + { + "title": "use date filter on overview page", + "status": "passed" + }, + { + "title": "use date filter on revenue report", + "status": "passed" + }, + { + "title": "set custom date range on revenue report", + "status": "passed" + }, + { + "title": "analytics settings", + "status": "passed" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "passed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "passed", @@ -318,15 +388,35 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "passed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "passed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "passed" } ] } @@ -635,7 +725,7 @@ { "file": "merchant\\/page-loads.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Page Load > Load WooCommerce sub pages": [ { @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "passed" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "passed" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": false, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "passed" @@ -1538,7 +1625,7 @@ "status": "passed" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "passed" @@ -1548,7 +1635,7 @@ "status": "passed" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "passed" @@ -1558,7 +1645,7 @@ "status": "passed" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "passed" @@ -1580,7 +1667,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total." + "summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total." } }, { diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_rc_74__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_rc_74__1.php index e5c27772..09faf567 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_rc_74__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_rc_74__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -41,13 +41,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 62, + "numPassedTestSuites": 64, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 0, - "numPassedTests": 230, - "numPendingTests": 4, - "numTotalTests": 234, + "numPassedTests": 248, + "numPendingTests": 3, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "passed" + }, + { + "title": "downloads revenue report as CSV", + "status": "passed" + }, + { + "title": "use date filter on overview page", + "status": "passed" + }, + { + "title": "use date filter on revenue report", + "status": "passed" + }, + { + "title": "set custom date range on revenue report", + "status": "passed" + }, + { + "title": "analytics settings", + "status": "passed" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "passed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "passed", @@ -318,15 +388,35 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "passed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "passed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "passed" } ] } @@ -635,7 +725,7 @@ { "file": "merchant\\/page-loads.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Page Load > Load WooCommerce sub pages": [ { @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "passed" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "passed" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": false, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "passed" @@ -1538,7 +1625,7 @@ "status": "passed" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "passed" @@ -1548,7 +1635,7 @@ "status": "passed" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "passed" @@ -1558,7 +1645,7 @@ "status": "passed" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "passed" @@ -1580,7 +1667,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total." + "summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total." } }, { diff --git a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_stable_74__1.php b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_stable_74__1.php index e5c27772..09faf567 100644 --- a/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_stable_74__1.php +++ b/_tests/tests/__snapshots__/E2eTest__test_e2e_no_op_stable_74__1.php @@ -30,7 +30,7 @@ }, "test_results_manager_url": "https:\\/\\/test-results-manager.com", "test_results_manager_expiration": 1234567890, - "test_summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total.", + "test_summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total.", "version": "Undefined", "update_complete": true, "ai_suggestion_status": "none", @@ -41,13 +41,13 @@ { "test_result_json": { "numFailedTestSuites": 0, - "numPassedTestSuites": 62, + "numPassedTestSuites": 64, "numPendingTestSuites": 0, - "numTotalTestSuites": 62, + "numTotalTestSuites": 64, "numFailedTests": 0, - "numPassedTests": 230, - "numPendingTests": 4, - "numTotalTests": 234, + "numPassedTests": 248, + "numPendingTests": 3, + "numTotalTests": 251, "testResults": [ { "file": "activate-and-setup\\/basic-setup.spec.js", @@ -79,6 +79,39 @@ ] } }, + { + "file": "admin-analytics\\/analytics-data.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Analytics-related tests": [ + { + "title": "confirms correct summary numbers on overview page", + "status": "passed" + }, + { + "title": "downloads revenue report as CSV", + "status": "passed" + }, + { + "title": "use date filter on overview page", + "status": "passed" + }, + { + "title": "use date filter on revenue report", + "status": "passed" + }, + { + "title": "set custom date range on revenue report", + "status": "passed" + }, + { + "title": "analytics settings", + "status": "passed" + } + ] + } + }, { "file": "admin-analytics\\/analytics-overview.spec.js", "status": "passed", @@ -256,6 +289,43 @@ ] } }, + { + "file": "merchant\\/command-palette.spec.js", + "status": "passed", + "has_pending": false, + "tests": { + "Use Command Palette commands": [ + { + "title": "can use the \\"Add new product\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Add new order\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Products\\" command", + "status": "passed" + }, + { + "title": "can use the \\"Orders\\" command", + "status": "passed" + }, + { + "title": "can use the product search command", + "status": "passed" + }, + { + "title": "can use a settings command", + "status": "passed" + }, + { + "title": "can use an analytics command", + "status": "passed" + } + ] + } + }, { "file": "merchant\\/create-order.spec.js", "status": "passed", @@ -318,15 +388,35 @@ "has_pending": false, "tests": { "WooCommerce Shipping Settings - Add new shipping zone": [ + { + "title": "add shipping zone for Mayne Island with free Local pickup", + "status": "passed" + }, + { + "title": "add shipping zone for Canada with Flat rate", + "status": "passed" + }, { "title": "add shipping zone with region and then delete the region", "status": "passed" + }, + { + "title": "add and delete shipping method", + "status": "passed" } ], "Verifies shipping options from customer perspective": [ { "title": "allows customer to benefit from a free Local pickup if on Mayne Island", "status": "passed" + }, + { + "title": "allows customer to benefit from a free Free shipping if in BC", + "status": "passed" + }, + { + "title": "allows customer to pay for a Flat rate shipping method", + "status": "passed" } ] } @@ -635,7 +725,7 @@ { "file": "merchant\\/page-loads.spec.js", "status": "passed", - "has_pending": true, + "has_pending": false, "tests": { "WooCommerce Page Load > Load WooCommerce sub pages": [ { @@ -650,10 +740,6 @@ "title": "Can load Customers", "status": "passed" }, - { - "title": "Can load Coupons", - "status": "pending" - }, { "title": "Can load Reports", "status": "passed" @@ -1524,7 +1610,8 @@ "status": "passed", "has_pending": false, "tests": { - "Shopper Tax Display Tests": [ + "Tax rates in the cart and checkout": [], + "Tax rates in the cart and checkout > Shopper Tax Display Tests": [ { "title": "checks that taxes are calculated properly on totals, inclusive tax displayed properly", "status": "passed" @@ -1538,7 +1625,7 @@ "status": "passed" } ], - "Shopper Tax Rounding": [ + "Tax rates in the cart and checkout > Shopper Tax Rounding": [ { "title": "checks rounding at subtotal level", "status": "passed" @@ -1548,7 +1635,7 @@ "status": "passed" } ], - "Shopper Tax Levels": [ + "Tax rates in the cart and checkout > Shopper Tax Levels": [ { "title": "checks applying taxes of 4 different levels", "status": "passed" @@ -1558,7 +1645,7 @@ "status": "passed" } ], - "Shipping Tax": [ + "Tax rates in the cart and checkout > Shipping Tax": [ { "title": "checks that tax is applied to shipping as well as order", "status": "passed" @@ -1580,7 +1667,7 @@ } } ], - "summary": "Test Suites: 0 skipped, 0 failed, 62 passed, 62 total | Tests: 4 skipped, 0 failed, 230 passed, 234 total." + "summary": "Test Suites: 0 skipped, 0 failed, 64 passed, 64 total | Tests: 3 skipped, 0 failed, 248 passed, 251 total." } }, { diff --git a/qit b/qit index 8e31da82..b730f197 100755 Binary files a/qit and b/qit differ diff --git a/src/src/Commands/CreateRunCommands.php b/src/src/Commands/CreateRunCommands.php index 89eae163..a4525447 100644 --- a/src/src/Commands/CreateRunCommands.php +++ b/src/src/Commands/CreateRunCommands.php @@ -290,8 +290,8 @@ public function execute( InputInterface $input, OutputInterface $output ) { 'timeout', 't', InputOption::VALUE_OPTIONAL, - '(Optional) Seconds to wait for a test to finish before failing the command. Default is 30 minutes. Min 10 seconds. Max 2 hours. (requires "--wait")', - 1800 + '(Optional) Seconds to wait for a test to finish before failing the command. Default is 60 minutes. Min 10 seconds. Max 2 hours. (requires "--wait")', + 3600 ); // If set, exit status code will be zero even if test fails.