Joshua T Flowers
b7379def1b
Format todo comments to match WC Core format ( https://github.com/woocommerce/woocommerce-admin/pull/1474 )
...
* Format todo comments to match WC Core format
* Remove variations todo comment
2019-02-06 14:41:53 +08:00
Claudio Sanches
b7c40c2c29
Merge pull request woocommerce/woocommerce-admin#1461 from woocommerce/fix/1460
...
Fixed database prefixes for admin notes tables
2019-02-05 16:21:43 -02:00
Claudio Sanches
d26e82b526
Merge branch 'master' into fix/1307
2019-02-05 16:20:08 -02:00
Claudio Sanches
86c3c00480
Clean tables when order is deleted
2019-02-05 16:15:39 -02:00
Justin Shreve
949afce248
Add Product Detail Report & Finish Comparison Chart Mode Functionality ( https://github.com/woocommerce/woocommerce-admin/pull/1391 )
...
Product detail report and comparison
Code cleanup
Fix 404 on product variations endpoint after rebase
Fix up tests
Fix loading indicators and add some checks around malformed variation response
Add date filtering SQL bits to the variations query
Handle PR feedback: Fix viewport, fix duplicate product issue, fix legend display reset, fix bargraph overflow, fix some coding standards/whitespace, add extra variation santiziation.
Fix scroll on wide charts, and fix undefined prop getting passed into report chart render
2019-02-05 13:12:58 -05:00
Claudio Sanches
10f40d4cf3
Merge branch 'master' into fix/1307
2019-02-05 15:48:59 -02:00
Peter Fabian
98e91966d5
Updated tests for code in master:
...
- added segment arrays and
- forced sync before running asserts.
2019-02-05 18:46:42 +01:00
Peter Fabian
b69d2aa2ab
Merge branch 'master' into fix/1012-2
...
# Conflicts:
# tests/reports/class-wc-tests-reports-orders-stats.php
2019-02-05 18:34:15 +01:00
Jeff Stieler
7664612b57
Fix order stats report status filtering test case (returning customer value incorrect).
2019-02-04 16:59:08 -07:00
Jeff Stieler
f938dd5708
Invoke queue test helper in new Order Stats and Products Report tests.
2019-02-04 11:46:46 -07:00
Jeff Stieler
bebe1bdead
Add test for scheduling a retry job when order syncing fails.
2019-02-04 09:18:51 -07:00
Jeff Stieler
21572698d8
Fix unit tests that rely on queued data updates.
2019-02-04 09:18:50 -07:00
Jeff Stieler
9b1f6999aa
Add action argument support when scheduling dependent actions.
2019-02-04 09:06:44 -07:00
Joshua T Flowers
0d4e42def0
Add segments to expected response in order stats ( https://github.com/woocommerce/woocommerce-admin/pull/1466 )
2019-02-04 18:39:33 +08:00
Joshua T Flowers
17179d41ff
Add order status tests and refund tests ( https://github.com/woocommerce/woocommerce-admin/pull/1443 )
...
* Add default order status tests
* Test querying an excluded status
* Add tests for product line item refunds
* Update status test method comment
* Drop @since versioning from doc blocks
2019-02-04 10:52:29 +08:00
Claudio Sanches
c1bb5802d1
Fixed coding standards
2019-02-01 18:48:54 -02:00
Claudio Sanches
31e8dc9332
Merge branch 'master' into fix/1307
2019-02-01 18:24:26 -02:00
Peter Fabian
32f851be5b
Merge pull request woocommerce/woocommerce-admin#1286 from woocommerce/fix/1035
...
Added segmenting support to REST API
2019-02-01 20:50:38 +01:00
Claudio Sanches
4c71e78222
Fixed database prefixes
...
Moved from woocommerce_ to wc_
2019-02-01 17:23:07 -02:00
Peter Fabian
2bc99cdb31
Added basic tests for zero filling when sorting intervals by non-date property.
2019-02-01 18:16:39 +01:00
Peter Fabian
c2bcad2e50
Merge branch 'master' into fix/1012-2
2019-02-01 13:32:35 +01:00
Joshua T Flowers
e65247c54e
Add SKU to product variations table ( https://github.com/woocommerce/woocommerce-admin/pull/1422 )
...
* Add SKU to product variations data store extended info
* Show SKU in product variations table
* Add sku tests for product variation reports
2019-01-31 09:27:15 +08:00
Peter Fabian
e433609d9d
Updated test of schema for taxes/stats.
2019-01-30 18:46:06 +01:00
Claudio Sanches
d1fef77ed0
Added unit tests for order deletation
2019-01-29 20:21:09 -02:00
Paul Sealock
4854933485
Merge pull request woocommerce/woocommerce-admin#1404 from woocommerce/fix/customers-date-between-args
...
Customers Report: REST API: Fix between argument handling
2019-01-30 10:32:54 +13:00
Timmy Crawford
10c6016d4c
Update usage of lib/number to @woocommerce/number ( https://github.com/woocommerce/woocommerce-admin/pull/1400 )
...
* Remove usage of lib/number
* Remove formatNumber usage when currency is used.
* Add wc-number as a dependency of wc-currency.
* Add locutus as a dev dependency.
* Add number to test helper.
2019-01-29 08:48:46 -08:00
Peter Fabian
e4e09b4c39
Merge branch 'master' into fix/1035
2019-01-29 10:01:41 +01:00
Paul Sealock
3e16a37be0
add tests
2019-01-29 11:01:25 +13:00
Paul Sealock
483c199fbf
tests working
2019-01-29 10:53:56 +13:00
Paul Sealock
2f022ffdba
dry interval.php
2019-01-29 10:23:44 +13:00
Paul Sealock
3d0890a704
basic working
2019-01-29 09:21:11 +13:00
Paul Sealock
bca0785e64
Customers Report: support between args for dates
2019-01-29 08:58:07 +13:00
Jeff Stieler
7592dae4bb
Merge pull request woocommerce/woocommerce-admin#1385 from woocommerce/add/customers-report-table-summary
...
Add table summary to Customers Report
2019-01-28 09:59:52 -07:00
Jeff Stieler
2703a0da4c
Merge pull request woocommerce/woocommerce-admin#1370 from woocommerce/fix/942-phpunit-gutenberg-dependency
...
Conditionally include Gutenberg plugin in test suite
2019-01-28 09:59:13 -07:00
Peter Fabian
05aedb2a63
Added tests for ASC ordering.
2019-01-25 17:40:33 +01:00
Jeff Stieler
8207bd7649
Add tests for customers report stats endpoint.
2019-01-23 17:48:22 -07:00
Jeff Stieler
4cfa082d0f
Load gutenberg from test plugins directory if required.
2019-01-23 16:59:10 -07:00
Peter Fabian
c96b291a6c
Added a bit of test for interval=hour order_by=date desc.
2019-01-23 22:13:00 +01:00
Peter Fabian
d61a4dd5bd
Updated tests to be more stable around hour end.
2019-01-25 00:06:59 +01:00
Peter Fabian
71a9be299a
Updated tests to pass before implementing the updated new/returning customer definition.
...
Context: https://github.com/woocommerce/wc-admin/issues/558#issuecomment-447782060
2019-01-23 13:29:40 +01:00
Peter Fabian
83a0d96f68
Added segmenting to response for revenue/stats test.
2019-01-23 10:37:09 +01:00
Peter Fabian
e432a17f1e
Added segmenting to response for products/stats test.
2019-01-23 10:36:50 +01:00
Peter Fabian
f190c1bad1
Fixed copy-paste bug for testing subtotals in REST response.
2019-01-23 10:36:27 +01:00
Peter Fabian
bcb7513f34
Added segmenting to response for coupons/stats test.
...
Fixed copy-paste error in test for subtotals.
2019-01-23 10:35:48 +01:00
Peter Fabian
fed94cbd0c
Added segmenting to response for coupons/stats test.
...
Changed return type for currency.
2019-01-23 10:34:07 +01:00
Peter Fabian
507ee13825
Merge branch 'master' into fix/1035
...
# Conflicts:
# client/analytics/report/customers/table.js
# includes/api/class-wc-admin-rest-reports-orders-stats-controller.php
# tests/reports/class-wc-tests-reports-orders-stats.php
2019-01-23 10:13:55 +01:00
Jeff Stieler
2d4aea1971
Only install/activate Gutenberg plugin if WP version under test is earlier than 5.0.
2019-01-22 10:44:00 -07:00
Peter Fabian
8a9a2c0673
Fixed interval arithmetic for hours and days.
2019-01-22 17:49:02 +01:00
Justin Shreve
1f8caf106e
Fix performance-indicators/allowed schema.
2019-01-21 12:28:32 -05:00
Justin Shreve
01b96ebea5
Hook up performance indicators to the REST API
2019-01-18 08:19:19 -05:00