Commit Graph

34460 Commits

Author SHA1 Message Date
Jonathan Sadowski 790c8ae8ae Update the test to make sure there are no error notices 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 3f70f70f3a Switch to assertCount for count assertions in test 2020-05-05 13:32:15 -05:00
Jonathan Sadowski 3d0bfd8ee2 Add test to check for notice when invalid attribute is provided for a variant 2020-05-05 13:32:14 -05:00
Jonathan Sadowski f8066a8141 Swap order of array_merge so that posted attributes do not get clobbered 2020-05-05 13:32:14 -05:00
Jonathan Sadowski 0c2b97ead2 Load variation attributes when adding to cart by variation id 2020-05-05 13:32:14 -05:00
Jonathan Sadowski 31bdce3725 Fix typo in test_add_variation_with_url test (use British spelling of colour) 2020-05-05 13:32:14 -05:00
Jonathan Sadowski fc683bdb80 Update unit tests to account for issue 24000 2020-05-05 13:32:14 -05:00
Claudio Sanches 744724b9f7
Merge pull request #26346 from woocommerce/renovate/docker-wordpress-5.x
Update wordpress Docker tag to v5.4.1
2020-05-04 22:48:51 -03:00
Claudio Sanches a15ef0ff16
Merge pull request #26354 from woocommerce/renovate/husky-4.x
Update dependency husky to v4.2.5
2020-05-04 22:26:45 -03:00
Renovate Bot 4e557af6ea
Update dependency husky to v4.2.5 2020-05-01 02:28:59 +00:00
Christopher Allford c0ecb79ba2
Merge pull request #26345 from woocommerce/refactor/phpunit-suite
Restructure PHPUnit Suite
2020-04-30 13:51:16 -07:00
Renovate Bot ad29fa955b
Update wordpress Docker tag to v5.4.1 2020-04-30 19:44:45 +00:00
Christopher Allford 857b2231f7 Added a phpcs exclusion to legacy unit tests 2020-04-30 12:43:22 -07:00
Christopher Allford 98b6b973e8 Updated the tests readme to explain the purpose of our two test directories 2020-04-30 10:09:42 -07:00
Claudio Sanches 8c24b46eb1
Merge pull request #26339 from woocommerce/fix/js-textdomain-regex
Fix WooCommerce Admin textdomain replacement in build script.
2020-04-29 19:24:12 -03:00
Jeff Stieler 674dbbacac Stop looking for commas and start looking for double quotes. 2020-04-29 15:58:59 -06:00
Peter Fabian c5479af526
Merge pull request #26324 from woocommerce/renovate/woocommerce-woocommerce-admin-1.x
Update dependency woocommerce/woocommerce-admin to v1.1.1
2020-04-29 20:09:11 +02:00
Renovate Bot 276c293edc
Update dependency woocommerce/woocommerce-admin to v1.1.1 2020-04-29 18:04:08 +00:00
Peter Fabian 5e0f48741b
Merge pull request #26335 from woocommerce/renovate/woocommerce-action-scheduler-3.x
Update dependency woocommerce/action-scheduler to v3.1.5
2020-04-29 20:02:15 +02:00
Renovate Bot 70ad0d0954
Update dependency woocommerce/action-scheduler to v3.1.5 2020-04-29 16:50:56 +00:00
Claudio Sanches b62457dd01 Validate page template 2020-04-29 17:53:04 +05:30
Vedanshu Jain 3dd2cb1a66
Merge pull request #26247 from woocommerce/fix/wccom-helper-plugins-cache
Reset cache before retrieving plugin list on WooCommerce.com Subscriptions tab
2020-04-29 16:27:21 +05:30
Christopher Allford 04ec11e90b Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory 2020-04-28 15:41:04 -07:00
Christopher Allford 1b2f5ab4ad Added handling to prevent namespace conflicts with included packages
The root namespace of Core is Automattic\WooCommerce, but both the blocks and wc-admin plugins exist in this namespace. In an effort to prevent possible conflicts, we should not allow for overlap in our repository. The rationale behind doing this as opposed to renaming our root namespace feels reasonable. In the case of Blocks, all of the tooling is already set up in their repository, so all blocks should go there anyway. In the case of WC-Admin, we shouldn't be refactoring admin classes, as that would duplicate work done to revamp them entirely.
2020-04-28 14:04:00 -07:00
Vedanshu Jain 15f8eb04c4
Merge pull request #26230 from woocommerce/update/wc-admin-1.1.0
Update wc-admin version to 1.1.0
2020-04-28 19:05:50 +05:30
Vedanshu Jain cea3042605
Merge pull request #26276 from jobthomas/master
Tweak explanation for coupon discounts
2020-04-28 18:30:44 +05:30
Julia Amosova b1bb4dfdb9 Add wait for the 'Proceed' button to become active in shipping task 2020-04-27 16:30:50 -04:00
Julia Amosova 46bc16de98 Update the number of fields expected within shipping task 2020-04-27 15:29:09 -04:00
Julia Amosova 3991647c94 Add shipping store location verification step in onboarding e2e test 2020-04-27 14:22:23 -04:00
Christopher Allford b5bd8225e8 Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
Job c2a8af8331
Tweak explanation for coupon discounts
There was still some unclarity on the function. The explanation and tooltips were updated.
2020-04-24 15:47:02 +02:00
Vedanshu Jain 5f0badbdf7
Merge pull request #26107 from webdados/master
Revert deprecation of $type on the get_european_union_countries method
2020-04-23 19:20:11 +05:30
Denis Dvali ee9e838918 Reset plugin cache before retrieving plugin list on Subscriptions tab. 2020-04-22 19:55:13 +03:00
Peter Fabian fc30f3c036
Merge pull request #26185 from woocommerce/fix/supported-wp-version-travis-update
Add all supported WP versions to Travis CI check
2020-04-22 12:21:40 +02:00
Vedanshu Jain d663631f32
Merge pull request #26235 from woocommerce/update/ignore-coupons-discounts
Update `Ignore coupons discounts` title & description for Free Shipping
2020-04-21 22:19:39 +05:30
Julia Amosova 2b95f7b795 Update the string next to `coupons discounts` checkbox 2020-04-21 12:45:25 -04:00
Julia Amosova 8845b9a5c2 Update `Ignore coupons discounts` title & description for Free Shipping 2020-04-21 11:25:12 -04:00
Vedanshu Jain 65cdf44adf
Merge pull request #26226 from woocommerce/revert-25708-update/reserve-stock-for-checkout
Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout"
2020-04-21 16:21:36 +05:30
vedanshu.jain 894f26b39c Update wc-adminv version to 1.1.0 2020-04-21 16:16:33 +05:30
Vedanshu Jain ee119e0a7e
Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout" 2020-04-21 15:37:21 +05:30
Christopher Allford df27e1b361
Merge branch 'master' into fix/supported-wp-version-travis-update 2020-04-16 15:16:05 -07:00
Christopher Allford 968f7ddc5b
Merge pull request #26090 from woocommerce/fix/update-minimum-version
Update minimum PHP version to 7.0
2020-04-16 15:01:39 -07:00
Christopher Allford caa1a6d475 Merge remote-tracking branch 'origin/master' into fix/update-minimum-version 2020-04-16 14:46:17 -07:00
Christopher Allford 7caa43ff66
Merge pull request #26195 from woocommerce/fix/wp-5.5-alpha-unit-test
Fixed unit test on WP 5.5 alpha
2020-04-16 14:26:22 -07:00
Claudio Sanches e43dc9b8a2 Use assertContains 2020-04-16 18:06:18 -03:00
Claudio Sanches 02e3ec7e97 Use assertStringContainsString to compare images 2020-04-16 17:52:22 -03:00
Claudio Sanches a5bc29e26c Fixed unit test on WP 5.5 alpha 2020-04-16 00:25:32 -03:00
Peter Fabian 7a314a6ebd Reduce the number of tests to run.
Just test with one PHP version, so that it doesn't take more than 30 minutes to finish.
2020-04-15 18:36:27 +02:00
Claudio Sanches 2cadb6b511
Merge pull request #26115 from woocommerce/renovate/woocommerce-woocommerce-sniffs-0.x
Update dependency woocommerce/woocommerce-sniffs to v0.0.10
2020-04-15 11:43:33 -03:00
Peter Fabian cdfd9e4ae2 Test all supported WordPress versions. 2020-04-15 13:07:51 +02:00