Greg
7c5fd005fd
Merge pull request #29939 from woocommerce/e2e/remove-merchant-ui-login
...
Remove merchant login/logout calls
2021-05-22 10:06:33 -06:00
Christopher Allford
070954c888
Revert #28187
...
The default functionality within the `ThemeSupport` class has an unintended
side-effect of breaking the existing default functionality within the
`wc_get_theme_support()` function. Since the default set in the support
class is prioritized over the one given to `ThemeSupport::get_option()`,
the WordPress options set in the Customizer are never used for images.
2021-05-21 12:10:15 -07:00
Vedanshu Jain
6667233eb1
Merge pull request #29762 from woocommerce/fix/29502
...
Update restock logic during refunds closes #29502
2021-05-21 22:53:22 +05:30
Rodel Calasagsag
072af834b9
Clear browser cache and cookies after each test.
...
Add merchant logins to relevant onboarding & setup tests
2021-05-21 19:27:50 +08:00
del
8a7f185652
Trash posts using WP API
2021-05-21 04:55:14 +08:00
del
e455479db9
Removed unnecessary merchant logout
2021-05-21 04:43:47 +08:00
del
7751034808
Added necessary merchant logins
2021-05-21 04:43:29 +08:00
del
67e7521044
Reverted bulk trash logic
2021-05-21 01:18:46 +08:00
del
d74d37ce67
Corrected logic prior to merchant logout
2021-05-20 23:43:22 +08:00
del
94f51fe808
Replace switchUserToTest with merchant.logout
2021-05-20 18:41:22 +08:00
del
e149dfb12b
Relocated merchant login call to improve readability
2021-05-20 18:27:54 +08:00
del
d66f1b7075
Added necessary merchant login calls
2021-05-20 18:27:12 +08:00
del
e7b8591d5c
Removed unnecessary merchant logouts based on PR comment
2021-05-20 18:14:10 +08:00
del
ab9532c81b
Re-add necessary merchant UI login
2021-05-20 16:41:53 +08:00
del
22a355c3ce
Remove unnecessary merchant util
2021-05-20 00:42:10 +08:00
del
6826cce834
Remove merchant login in the remaining shopper test that has it
2021-05-20 00:40:16 +08:00
del
0b1310cd44
Remove merchant login/logout calls
2021-05-19 00:44:33 +08:00
Ron Rennick
92d3bdfacb
add draft status to deleteAllObjects
2021-05-14 17:00:30 -03:00
Ron Rennick
bee633cef7
Update delete all to include trash ( #29881 )
...
* update stale to Stale in feedback label CI
* delete trashed objects, use api to delete imported products
* restore two lines deleted in merge
2021-05-14 17:49:55 +02:00
Ron Rennick
2a86d2b2ab
update api package readme & changelog to prep for release
2021-05-13 16:06:28 -03:00
Greg
63fe943ef9
Merge pull request #29819 from woocommerce/fix/27873
...
Add order support to API package
2021-05-13 08:07:55 -06:00
jonathansadowski
692ddaf4f2
Merge pull request #29318 from woocommerce/fix/rounding
...
Make rounding more accurate when prices are entered more than 2dp
2021-05-12 17:43:29 -05:00
roykho
b808d9a24f
Fix merge conflicts
2021-05-11 08:53:03 -07: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
roykho
8c3e90b3ce
Initialize _restock_refunded_items meta on order update
2021-05-11 08:35:48 -07: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
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
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
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
49ed94a1d0
Add expected deprecate calls to make tests work with parent::setUp.
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
Nestor Soriano
9dcdfddc15
Fix table creation detection in DataRegeneratorTest
2021-05-05 11:50:43 +02:00
Nestor Soriano
f53f959d03
Fix the usage of FakeQueue in DataRegeneratorTest.
...
Also update the doc comment of FakeQueue itself on how to use it.
2021-05-05 11:11:36 +02:00
Veljko
ce1e2f260d
Rename the test file
2021-05-05 09:29:38 +02:00
Ron Rennick
f51dfdfd56
Merge branch 'trunk' into e2e/e2e-merchant-initiate-wccom
2021-05-04 22:28:09 -03:00
Nestor Soriano
c4e7074c70
Add unit tests for the DataRegenerator class
2021-05-04 16:15:16 +02:00
Nestor Soriano
4d13b0ca07
ExtendedContainer::replace now allows registering anonymous classes.
2021-05-04 16:14:34 +02:00
Greg
c354a67292
Finish work on order; removed unused variable from test
2021-05-03 20:21:00 -06:00
Greg
e9febd57ec
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-05-03 13:58:55 -06:00