Christopher Allford
bbbfc3bfab
Moved the MaxMind geolocation lookup into the integration class
2020-01-09 23:46:25 -08:00
Christopher Allford
f91ff82806
Moved the loading of the database class into the integration
2020-01-09 21:29:47 -08:00
Christopher Allford
bf057927ae
Moved the loading of integration classes into the WC_Autoloader
2020-01-09 15:46:01 -08:00
Christopher Allford
3e597e6f68
Replaced the Geolocation database fetching functionality with MaxMind integration
2020-01-09 00:31:51 -08:00
Christopher Allford
f23c26a9f9
Fixed a permissions conflict caused by the dummy GeoLite2 archive's date
...
The test would fail if the web server had stored the data already!
2020-01-08 22:56:07 -08:00
Christopher Allford
95e59fc777
Made the database service class methods static for convenience \
2020-01-08 21:59:04 -08:00
Christopher Allford
1eb49ef8b8
Added filterable support for fetching the database path
...
This replaces the corresponding geolocation class functionality. We are deprecating the woocommerce_geolocation_local_database_path filter in favor of the woocommerce_maxmind_geolocation_databse_path filter. Since we want the option to turn this into a feature plugin, it's wise to make sure nothing is too generic.
2020-01-08 21:48:05 -08:00
Christopher Allford
46d7f16b19
Added support for downloading and extracting the GeoLite2 database
2020-01-08 21:09:35 -08:00
Christopher Allford
a477f9367d
Added support for creating default integrations
2020-01-08 21:05:14 -08:00
Claudio Sanches
85a077b939
Coupon race condition prevention
2020-01-06 19:44:24 -03:00
Claudio Sanches
2ce4a60ff1
Remove old unit test
2020-01-06 19:37:47 -03:00
Vedanshu Jain
d76c5b734c
Merge pull request #25300 from woocommerce/fix/25274-docker-mount-dir
...
E2E Tests: mount directory instead of copy.
2019-12-26 17:36:14 +05:30
vedanshujain
42dd1bf32b
Add an address so that shipping can be calculated
2019-12-26 14:04:52 +05:30
vedanshujain
31726d1a37
Update version numbers
2019-12-26 13:55:43 +05:30
Christopher Allford
ac22406763
Fixed the unit tests broken by the requirement that a valid address must be set to calculate shipping rates
2019-12-26 13:55:43 +05:30
Christopher Allford
027257f624
Changed the dummy postal code in the order helper to a valid one
2019-12-26 13:55:42 +05:30
Christopher Allford
c54fa91145
Added unit tests for checking whether a package is shippable or not
2019-12-26 13:55:41 +05:30
Christopher Allford
e800b40ad6
Made packages with incomplete destinations unshippable
2019-12-26 13:55:41 +05:30
Jeff Stieler
7c0511baaa
Fix typo in docker service name.
2019-12-23 13:14:14 -05:00
Jeff Stieler
5c67310e48
Fix typo in test installation instructions. ( #25298 )
2019-12-23 11:32:54 -05:00
Rodrigo Primo
487f96d844
Fix WordPress.DateTime.CurrentTimeTimestamp vilations
...
This commit fixes all violations of the WordPress.DateTime.CurrentTimeTimestamp sniff automatically using phpcbf.
2019-12-20 14:23:05 -03:00
Rodrigo Primo
62d6b05b58
Fix Generic.Formatting.MultipleStatementAlignment violations
...
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rodrigo Primo
94373f78ea
Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf
2019-12-20 13:51:26 -03:00
Julia Amosova
8854d0d074
Update comments in `run-e2e-CI.sh`
2019-12-20 00:10:44 +00:00
Julia Amosova
9397565d22
Add max amount of time waiting for the Docker container to be built
2019-12-19 22:48:03 +00:00
vedanshujain
ff2a8a58f2
Commented out flaky test
2019-12-17 19:13:19 +05:30
vedanshujain
9b7343d23b
Applied coding standards
2019-12-17 19:13:19 +05:30
vedanshujain
53bfcea110
Use same filter for stocks and coupon for consistency.
2019-12-17 19:13:19 +05:30
vedanshujain
72545c44b7
Add support for `_held_for_checkout` records to improve performance.
...
This will also improve transactional stability and avoid race conditions by providing a way to lock usage counts.
2019-12-17 19:13:19 +05:30
Julia Amosova
1658dd3962
Make setup wizard test more stable
2019-12-15 22:55:39 +00:00
Julia Amosova
f9a9fbc2c7
Pass jest exit code to npm
2019-12-15 22:34:35 +00:00
Julia Amosova
88fa2885fc
Update jest version
2019-12-15 19:13:28 +00:00
Julia Amosova
4e134f8ec4
Testing Docker build on Travis
2019-12-15 17:54:33 +00:00
Julia Amosova
c1b358929b
Add page creation & check for Docker container status to run e2e tests
2019-12-15 16:44:40 +00:00
Julia Amosova
5645f5882a
Add check for Docker container to be built on Travis when post is created
2019-12-15 16:04:06 +00:00
Julia Amosova
14afe36204
Add check for Docker container to be built on Travis
2019-12-15 15:32:26 +00:00
Julia Amosova
53dcdd77b3
Update Docker + Travis setup
2019-12-15 13:09:29 +00:00
Julia Amosova
cff1272b7e
Add check for new setup wizard flow & fix ship to different address click
2019-12-11 17:15:37 +00:00
Julia Amosova
90ddb08765
Merge branch 'new/puppeteer-screenshot-tester' into new/front-end-checkout-e2e-test
2019-12-11 14:54:39 +00:00
Julia Amosova
29671dd9ec
Resolving conflict with master branch
2019-12-11 14:53:07 +00:00
Julia Amosova
900289c191
Update the way `ship to different address` checkbox is set
2019-12-11 12:27:41 +00:00
Julia Amosova
47ecd75479
Wait for Recommended section elements to be visible in the obw test
2019-12-11 12:18:31 +00:00
Julia Amosova
c7d4989f01
Update clicks in obw and checkout tests & productIsInCheckout function
2019-12-11 12:02:44 +00:00
Claudio Sanches
2975b3a7b7
Rate limit feature
2019-12-11 01:38:19 -03:00
Claudio Sanches
f7632de06e
Merge pull request #25164 from om4james/webhook-delete-cache
...
Delete cached webhook data when a webhook is deleted
2019-12-10 22:45:42 -03:00
Claudio Sanches
523c72f265
Fix WordPress nightly unit tests ( #25198 )
...
* Remove images after uploaded in WC_Tests_Product_Data
* Remove attachment after test
* Fixed image_id
2019-12-10 13:57:52 -03:00
Claudio Sanches
104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
...
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Andrej Mernik
d20d429e32
Add postcode validation for Slovenia ( #25174 )
...
Add postcode validation for Slovenia
2019-12-09 10:09:45 -03:00
Julia Amosova
bf8ce8dcd7
Wait for the Recommended section to load in the setup wizard test
2019-12-09 09:51:13 +00:00
Julia Amosova
2477d07b48
Various improvements to e2e tests
2019-12-06 15:06:48 +00:00