Claudio Sanches
c389af7f77
Merge pull request #29477 from jjchrisdiehl/ve_locale
...
Adding Venezuelan states
2021-05-11 13:29:27 -03:00
Claudio Sanches
7c417716df
Update i18n/states.php
2021-05-11 13:27:59 -03:00
Claudio Sanches
c90681375c
Update i18n/states.php
2021-05-11 13:27:20 -03:00
roykho
006f580b28
Remove unneeded order_version
2021-05-11 08:54:35 -07:00
roykho
b808d9a24f
Fix merge conflicts
2021-05-11 08:53:03 -07:00
Claudio Sanches
4e89b08df9
Remove dependabot from contributors script
2021-05-11 12:52:24 -03:00
Claudio Sanches
bdfeeaf1fd
Merge pull request #29862 from woocommerce/dependabot/npm_and_yarn/tests/e2e/utils/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
2021-05-11 12:46:15 -03:00
dependabot[bot]
d73c948c67
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 15:45:21 +00:00
Claudio Sanches
f48b96077d
Merge pull request #29863 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
2021-05-11 12:44:26 -03:00
Claudio Sanches
a81d0358ef
Merge pull request #29864 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
2021-05-11 12:41:44 -03:00
Darren Ethier
38a6c9e3e2
update blocks package to 5.1.0
2021-05-11 11:37:28 -04:00
roykho
8c3e90b3ce
Initialize _restock_refunded_items meta on order update
2021-05-11 08:35:48 -07:00
Christopher Allford
fd624f77c8
Merge pull request #29044 from woocommerce/fix/issue-28284
...
Fix/issue 28284
2021-05-10 11:38:20 -07:00
Ron Rennick
1ba0e6d382
update stale to Stale in feedback label CI ( #29871 )
2021-05-10 17:19:06 +02:00
Ron Rennick
7237051b67
three small e2e fixes found through smoke testing ( #29834 )
...
- remove merchant login for beforeAll in cart & checkout coupon tests. Test objects created with the rest API.
- eliminate error when merchant logout is called when merchant is not logged in
- eliminate rest API error when deleting an object that no longer exists
2021-05-10 17:16:31 +02:00
Roy Ho
f9441dcc00
Merge pull request #29778 from woocommerce/add/29608
...
Product attributes lookup table creation and filling
2021-05-10 07:41:39 -07:00
Ron Rennick
c7afe437d7
small E2E coding fixes ( #29816 )
2021-05-10 16:27:01 +02:00
Ron Rennick
afa1ba573d
remove local container from smoke test ( #29828 )
2021-05-10 15:49:32 +02:00
Ron Rennick
bcebdad06d
remove the stale label when feedback is provided ( #29829 )
2021-05-10 15:08:46 +02:00
Nestor Soriano
eb2e67d17d
Make the debug tools page entries for attribute filtering hidden by default.
...
To show the entries the following needs to be run:
wc_get_container()
->get(\Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore::class)
->show_feature();
2021-05-10 11:32:39 +02:00
dependabot[bot]
ce9fce8d0d
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:27 +00:00
dependabot[bot]
e25581c29b
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:23 +00:00
jonathansadowski
e1bc077ae3
Merge pull request #29861 from woocommerce/update/bump-woocommerce-admin-2.2.6
...
Update woocommerce-admin to latest version 2.2.6
2021-05-07 17:42:27 -05:00
Jonathan Sadowski
6a6ea2e292
Update woocommerce-admin to latest version 2.2.6
2021-05-07 17:13:30 -05:00
vedanshujain
ed7c81127c
Add rounding it test since we changed it in code.
2021-05-07 15:53:52 +05:30
vedanshujain
f53e9dde44
Use edit context to get unformatted price.
2021-05-07 14:59:14 +05:30
vedanshujain
b487e363ce
Restore formatting but without rounding for backward compat.
2021-05-07 14:58:52 +05:30
vedanshujain
18411d2b3b
Add code comments for confusing changes.
2021-05-07 14:30:45 +05:30
vedanshujain
6c2f30132d
Add clear cart call to prevent side effects from tests.
2021-05-07 14:30:45 +05:30
vedanshujain
833193b7f7
Round tax amount appropriately before displaying.
...
We have special method to round taxes which may round up or round down depending upon settings. This method should be used instead of default rounding in formatting funtions.
2021-05-07 14:30:45 +05:30
vedanshujain
a0d6cea139
Round shipping and fees tax seperately since they are entered excl taxes.
...
We round up or round down depending upon if prices are entered inclusive or exclusive taxes, however since shipping and fees are always entered exclusive of taxes, they should always be rounded down.
2021-05-07 14:30:44 +05:30
vedanshujain
49ed94a1d0
Add expected deprecate calls to make tests work with parent::setUp.
2021-05-07 14:30:44 +05:30
vedanshujain
30cbf4638d
Use constant instead of magic numbers.
2021-05-07 14:30:44 +05:30
vedanshujain
f5056d37e4
Add expected deprecated call so that we can call setUp for this testcase.
2021-05-07 14:30:44 +05:30
vedanshujain
162588c42d
Add test for when product prices has more precision than is displayed.
2021-05-07 14:30:44 +05:30
vedanshujain
c834dfb98b
Add test for when entered price has more precision than displayed price.
2021-05-07 14:30:44 +05:30
vedanshujain
2930057847
Add tests to make sure discounts are rounded properly in cart.
2021-05-07 14:30:44 +05:30
vedanshujain
a0fbff3879
Modify unit test to accomodate pre-rounding total.
2021-05-07 14:30:44 +05:30
vedanshujain
b156e329f8
Remove rounding from lines which are not final totals.
2021-05-07 14:30:44 +05:30
vedanshujain
973bba347f
Remove rounding from subtotals as they would already be rounded depending upon settings.
2021-05-07 14:30:44 +05:30
vedanshujain
43822b7401
Remove rounding from individual item discount taxes.
...
Rounding here conflicts with round at subtotal settings becase we would round at line item level irrespective of settings.
2021-05-07 14:30:44 +05:30
Nestor Soriano
cdc55bf846
Fix typos in comments
2021-05-07 09:16:45 +02:00
And Finally
e4d3b157ff
Changed block name and CSS classnames to the more generic "promotion block".
2021-05-06 22:12:07 +01:00
Tim Howe
f179ff6741
Added dates_are_gmt parameter to allow the uses of post_date_gmt column with the before and after parameters for the order RESTAPI
2021-05-06 17:06:06 -04:00
Yehuda Hassine
ab6404f6f1
Remove Curaçao postcode
2021-05-06 23:02:18 +03:00
Khoi Nguyen
aa913b59ed
Set loop prop to widget products to set condition on single product page
2021-05-06 22:22:58 +07:00
TimBHowe
98af7209da
Added the 'after_gmt' and 'before_gm' parameters
2021-05-06 10:58:27 -04:00
And Finally
21b4801cc1
Fixing doc comment for new method.
2021-05-06 15:40:02 +01:00
And Finally
2b053d4586
Added docblock comment for `$section` param.
2021-05-06 15:22:53 +01:00
And Finally
f1a69cb4af
Added comment to new `output_ad_block` method. Removed differences introduced by PhpStorm autoformat.
2021-05-06 15:16:49 +01:00