Vedanshu Jain
3bf473517d
Merge pull request #25708 from woocommerce/update/reserve-stock-for-checkout
...
Introduce a `reserved stock` class and database table to prevent race conditions during checkout
2020-04-07 02:16:22 +05:30
Vedanshu Jain
057b352de7
Merge pull request #26016 from woocommerce/fix/26010
...
Setup Wizard: Default 100% of users to new OBW.
2020-04-07 02:10:09 +05:30
Vedanshu Jain
237463c39b
Merge pull request #25800 from woocommerce/fix/25748
...
Fixes tax rounding issues
2020-04-07 00:24:34 +05:30
vedanshujain
ef17b148be
Removed unused tax class prop
2020-04-06 12:49:46 +00:00
Vedanshu Jain
e3eb30c509
Merge pull request #26066 from woocommerce/fix/26002
...
Fix/26002
2020-04-06 18:05:47 +05:30
Vedanshu Jain
52ded367f5
Merge pull request #26075 from woocommerce/fix/26015
...
Prune elements with display none to fix regression.
2020-04-06 18:03:45 +05:30
Néstor Soriano
13765d9e91
Merge pull request #25092 from leanzafrancesco/fix/25091
...
Fix/25091 - Wrong totals in orders with taxable and non-taxable products and percentage coupons
2020-04-06 12:31:07 +02:00
Mike Jolley
9b5189dc7a
Remove tests for order methods which were removed
2020-04-03 15:55:15 +01:00
vedanshujain
facfb16131
Changed class name to match file name
2020-04-03 15:55:14 +01:00
Claudio Sanches
2ebd86f2dc
Revert "Revert "Add support for '_held_for_checkout` records to prevent race conditions.""
2020-04-03 15:55:13 +01:00
vedanshujain
af810af57a
Add unit test for removing displa:none from emails
2020-04-03 13:49:28 +00:00
vedanshujain
0af20fe4ef
Add unit test for guest checkout with per user coupon usage limit.
2020-04-02 15:04:57 +00:00
Steve Grunwell
17c56d6d12
Merge branch 'master' into fix/travis-against-minimium-requirements
2020-04-01 14:30:42 -04:00
Julia Amosova
35555138bd
Remove unused functions imports from components
2020-03-31 11:20:12 -04:00
Julia Amosova
2090dad9fd
Update shipping setup through Task List
2020-03-31 10:00:43 -04:00
Julia Amosova
cef74d73fe
Replace old shipping setup with new OBW shipping setup task
2020-03-31 00:32:42 -04:00
Julia Amosova
37b47b496b
Improve shipping setup in OBW e2e test
2020-03-30 23:13:17 -04:00
Julia Amosova
4c1eece4f4
Add shipping setup to OBW e2e test
2020-03-30 21:57:37 -04:00
Julia Amosova
a5bc44e92e
Refactor 'Continue' button clicks & add Theme section test coverage
2020-03-30 20:12:39 -04:00
Christopher Allford
23e555823b
Merge pull request #25943 from woocommerce/fix/25810
...
Fixed remainder application for percent coupons
2020-03-30 14:13:03 -07:00
Jeff Stieler
d9a1c50074
Fix <SelectControl> interaction in new OBW test.
...
Remove usage of `puppeteer-select`.
2020-03-30 11:31:56 -06:00
Julia Amosova
bb20a436b8
Add new OBW e2e test (not complete - missing Theme section coverage)
2020-03-27 17:45:20 -04:00
Julia Amosova
f8bb7681b6
Merge pull request #25839 from woocommerce/fix/remove-legacy-e2e-travis-setup
...
Remove legacy e2e test suite travis setup
2020-03-27 10:11:56 -04:00
Peter Fabian
0e0b1d646d
Merge pull request #25882 from woocommerce/fix/25845
...
Set usage count before usages query
2020-03-18 15:44:49 +01:00
Christopher Allford
917e5ff77d
Merge pull request #25923 from woocommerce/fix/test-install-db-socket
...
Correct usage of database sockets in test install script
2020-03-17 09:08:18 -07:00
Christopher Allford
ed55034867
Added a check to prevent coupon cent remainders from decreasing the item cost below zero
2020-03-16 21:32:25 -07:00
Christopher Allford
98395741cf
Changed the default test file locations to respect the system's tmp folder
2020-03-13 20:44:43 -07:00
Christopher Allford
5f829d4005
Corrected the handling of sockets in the unit test install script
2020-03-13 20:44:38 -07:00
Christopher Allford
a576060403
Replaced the strict path used in the MaxMind database download test
...
It was set to /tmp directly instead of using the sys_get_temp_dir() method, leading to failures on systems with a different temp folder location,
2020-03-13 20:44:35 -07:00
Christopher Allford
8c0f4a1204
Made the is_package_shippable check more permissive
...
Initially it was made more precise to avoid calculating estimates for incomplete addresses. Due to some bad working in template files though, as well as historical precedent, we need to change it back.
2020-03-13 09:15:31 -07:00
Steve Grunwell
d085044970
Remove an unnecessary onNotSuccessfulTest() override, as the tearDown() fixture will be called regardless of the successfulness of the test method
2020-03-12 16:00:01 +00:00
Steve Grunwell
0a5161ea3d
*CODING STANDARDS ONLY* Add method visibility, clean up inline documentation.
2020-03-12 15:57:32 +00:00
Steve Grunwell
2383670020
Simplify the test for test_get_tables_enables_filter() now that we can leverage PHP >= 5.3
2020-03-12 15:54:25 +00:00
Steve Grunwell
7f74eace0b
Rewrite WC_Tests_Install::test_get_tables()
...
Instead of comparing all tables that exist with all tables that are registered with `WC_Install::get_tables()` (which was only introduced a few versions ago in #19436 ), rewrite the test to verify that all of the tables *registered* actually exist within the database.
This will prevent tests from failing when, for example, they're run against databases that may or may not have additional plugins installed/activated. This also prevents tests from failing when running WooCommerce 4.x (e.g. with WooCommerce Admin) on WordPress < 5.3, since the tables are created but the callback to register the custom tables is never hooked.
2020-03-12 15:00:03 +00:00
Steve Grunwell
5855931542
Define the polyfill before attempting to call it
2020-03-11 16:53:25 +00:00
Steve Grunwell
86d44e74bb
Make WC_Tests_CRUD_Data::onNotSuccessfulTest() compatible with its parent declaration
2020-03-11 16:35:36 +00:00
Steve Grunwell
0a3c5186fa
The WP core test suite didn't introduce includes/listener-loader.php until WordPress 5.1, so we need to polyfill the behavior when testing against WordPress 5.0
2020-03-11 16:34:52 +00:00
vedanshujain
a2418156d4
Add tests
2020-03-11 20:47:24 +05:30
Julia Amosova
0a90489322
Remove legacy e2e test suite travis setup
2020-03-06 14:12:24 -05:00
Jan-Paul Kleemans
108ad568d0
Update comment
2020-03-04 12:30:17 +01:00
vedanshujain
657e95b55e
Added tests
2020-03-03 18:46:37 +05:30
vedanshujain
1314fdc0e7
Clear existing shippin rates before adding rate for test
2020-03-03 16:15:25 +05:30
vedanshujain
2c2d96ec95
Added tests for rounding issues
2020-03-02 15:30:10 +05:30
Vedanshu Jain
6f2b232fc7
Merge pull request #25734 from woocommerce/fix/25650
...
Fixed caching for order item on deletion
2020-02-27 13:48:44 +05:30
Ron Rennick
25ab5596a2
fix composer.lock conflict
2020-02-25 15:00:55 -04:00
Ron Rennick
77d6dc1342
update WCA class namespace in unit tests
2020-02-24 23:22:11 -04:00
Ron Rennick
2d70a48361
bump action scheduler version, add queue unit tests
2020-02-24 21:45:19 -04:00
Christopher Allford
6a292de9f9
Cleared the cache when order items are added, updated, or deleted
2020-02-23 12:41:33 -08:00
Julia Amosova
4a316b776f
Fix markdown issue in the content and add more details to the docs
2020-02-19 11:31:27 -05:00
Julia Amosova
13761799cc
Update documentation related to running e2e and unit tests
2020-02-18 17:09:03 -05:00