Christopher Allford
72d09026a6
Renamed the prettyPermalinks method to better clarify its intent
2020-11-04 10:28:10 -08:00
Christopher Allford
b9ba2e880d
Added support for installations not using pretty permalinks
2020-11-03 17:04:41 -08:00
Christopher Allford
39367de732
Fixed a bug with OAuth signature generation when using query parameters
2020-11-03 17:02:12 -08:00
Roy Ho
2d6d53ed6f
Merge pull request #28127 from woocommerce/fix/duplicate-puppeteer-dependency
...
remove puppeteer dependency from main package
2020-10-30 10:34:11 -07:00
Rodrigo Primo
683c8cbcd7
Merge pull request #28116 from woocommerce/fix/flaky-coupon-test
...
fix flaky e2e coupon test
2020-10-29 18:04:59 -03:00
Tam Mullen
20d973975e
Merge pull request #27916 from woocommerce/add/core-tests-readme
...
add readme to core tests package
2020-10-29 17:13:40 +00:00
Ron Rennick
8830de1fa4
use delete focus selector available on order edit
2020-10-29 09:17:35 -03:00
Ron Rennick
0424bfe847
fix typo in setup instructions URL
2020-10-29 08:44:10 -03:00
Ron Rennick
21ebe3af05
remove puppeteer dependency from e2e-environment
2020-10-29 08:41:24 -03:00
Ron Rennick
ef2e226feb
use focus instead of scrollTo
2020-10-28 19:15:17 -03:00
Ron Rennick
9851c26d31
Merge branch 'master' into fix/flaky-coupon-test
2020-10-28 18:48:13 -03:00
Ron Rennick
038058af1e
update product new test with correct parameters
2020-10-28 13:44:33 -03:00
Tam Mullen
a0233fad93
Merge pull request #27978 from woocommerce/docs/e2e-environment-0.1.6
...
update e2e-environment readme
2020-10-28 12:51:13 +00:00
Tam Mullen
8e5bd336de
Merge pull request #27994 from woocommerce/fix/27979
...
expand e2e-utils readme, simplify exports
2020-10-28 12:50:57 +00:00
Néstor Soriano
604958c4a8
Merge pull request #28103 from woocommerce/fix/issue-27756
...
Fix/issue 27756
2020-10-28 10:06:55 +01:00
Ron Rennick
1794026773
fix flaky e2e coupon test
2020-10-27 16:44:42 -03:00
roykho
996d206ce5
Add unit test for #27756
2020-10-26 12:32:15 -07:00
Shiki
30854efc1b
Replace assertStringContainsString with strpos
...
This is to make the PHP 7.0 CI pass.
2020-10-26 13:28:04 -03:00
Shiki
ba3e107cb8
Orders V2 API: Add test for parent_name
2020-10-26 13:28:04 -03:00
Shiki
94ecfcab34
Orders API: Add parent_name to schema
2020-10-26 13:28:04 -03:00
Shiki
c6f82b96a1
Orders API: Add unit test for parent_name line_item property
2020-10-26 13:28:04 -03:00
Shiki
a05316878e
Orders API Tests: Fix failing tests because of the new property
2020-10-26 13:28:04 -03:00
Shiki
3a1b125e3a
Fix coding style
2020-10-26 13:28:04 -03:00
Claudio Sanches
f7e9c1bfb7
Merge pull request #27995 from rodrigoprimo/fix/phpcs-travis
...
Fix the Travis build job that runs PHPCS
2020-10-20 10:14:39 -03:00
Claudio Sanches
139df7bdaa
Merge pull request #27986 from woocommerce/php8/fixes-in-dependency-injection-container
...
[PHP 8] Fixes in the dependency injection engine for PHP 8 compatibility
2020-10-19 20:22:35 -03:00
Ron Rennick
503e898307
use direct exports
2020-10-19 11:32:28 -03:00
Rodrigo Primo
17471f8f66
Stop installing PHPCS globally in the Travis build job
...
PHPCS is already installed as a project dependency (we run `composer
install` for each build job) so there is no need to install it as a
global package in `tests/bin/phpcs.sh`.
2020-10-16 16:37:05 -03:00
Rodrigo Primo
eaef2409bd
Use phpcs installed locally instead of globally
...
This is an attempt to fix the PHPCS Travis build job that started
failing with the following error:
```
Running Code Sniffer.
tests/bin/phpcs.sh: line 14: phpcs: command not found
The command "bash tests/bin/phpcs.sh" exited with 127.
```
(https://travis-ci.org/github/woocommerce/woocommerce/jobs/736440739#L508 )
2020-10-16 16:36:57 -03:00
Ron Rennick
3b1481bb01
expand e2e-utils readme, simplify exports
2020-10-16 16:25:23 -03:00
Julia Amosova
ff67a7c1ce
Add note about test locations in WC Core and other projects.
2020-10-16 11:27:00 -04:00
Julia Amosova
bd5b65426f
Update README with more details on how to write e2e tests.
2020-10-16 11:20:33 -04:00
Julia Amosova
8c094daceb
Add guide for writing e2e tests in README
2020-10-16 11:20:24 -04:00
Nestor Soriano
042e2cd0bb
Fixes in the dependency injection engine for PHP 8 compatibility
...
- One dummy class used for tests had a 'final private' method, this
is not allowed in PHP 8 and so the method is now just 'private'.
- The AbstractServiceProvider class was using
ReflectionParameter::getClass. This is deprecated in PHP8 and thus
that usage has been replaced with an utility method that uses
the recommended replacement.
2020-10-16 11:31:26 +02:00
Rodrigo Primo
7599517e91
Merge pull request #27965 from woocommerce/fix/27874
...
switch to api package, bump utils package version
2020-10-15 15:05:43 -03:00
Ron Rennick
dd6d460fec
update e2e-environment readme
2020-10-15 14:53:21 -03:00
Ron Rennick
c3f934ad21
add e2e-environment package changelog
2020-10-15 14:14:22 -03:00
Ron Rennick
5815e5cf48
Merge pull request #27914 from woocommerce/fix/e2e-container-check
...
Only attempt to run E2E tests if testing host is ready
2020-10-15 13:44:55 -03:00
Ron Rennick
f0e6e1761c
Merge pull request #27913 from woocommerce/fix/27820
...
add test:e2e-debug command
2020-10-15 13:44:32 -03:00
Ron Rennick
0a7c0dc7fc
Merge pull request #27790 from woocommerce/fix/27787
...
Expose automattic/puppeteer-utils in e2e-environment
2020-10-15 09:52:52 -03:00
Néstor Soriano
e4a109f0d1
Merge pull request #27763 from woocommerce/fix/27445
...
Remove protection as we already diff and update only if needed.
2020-10-15 10:01:34 +02:00
Ron Rennick
f945a0e16c
switch to api package, bump utils package version
2020-10-14 15:13:08 -03:00
Ron Rennick
514e6cc308
document disabling puppeteer download
2020-10-14 13:59:37 -03:00
Vedanshu Jain
ae610d3f5f
Merge pull request #27492 from woocommerce/fix/api/229
...
Add User-friendly Attribute Names and Values to Order Line Items Metadata
2020-10-14 22:02:19 +05:30
vedanshujain
a332b399d3
Use variable instead of magic constants.
2020-10-14 18:50:44 +05:30
vedanshujain
c01f32a390
Use default value if formatted value is not available
2020-10-14 14:51:19 +05:30
vedanshujain
8e12de5d3c
Merge branch 'fix/api/229-unit-test' of https://github.com/shiki/woocommerce into fix/api/229
2020-10-14 13:53:03 +05:30
Julia Amosova
03078c5a9d
Implement `waitAndClick` in the setup e2e test.
2020-10-13 16:25:28 -04:00
Ron Rennick
13bcd43bfe
expose automattic/puppeteer-utils in e2e-environment
2020-10-13 16:16:32 -04:00
Ron Rennick
24713a45c3
restore shipping setup test
2020-10-13 16:15:07 -03:00
Shiki
1be78d1ebf
Use different terms to avoid clash with the similar V2 test
...
I suppose I could have deleted the attribute and term first but I think
this is better and shorter. Maybe.
2020-10-13 22:32:32 +05:30