Ron Rennick
6687e5847e
fix environment dependencies
2022-01-25 13:04:17 -04:00
jamelreid
48bfc2c3b2
Made summary output more dynamic
2022-01-25 11:41:28 -05:00
Ron Rennick
75fec513e1
fix merge conflicts
2022-01-24 13:39:38 -04:00
jamelreid
b46e681597
Updated path to test-results.json
2022-01-24 10:22:29 -05:00
jamelreid
9cd3c6976d
Used resolveLocalE2ePath for path to test results
2022-01-21 17:51:46 -05:00
Jonathan Lane
dc381f4305
Merge pull request #31625 from woocommerce/e2e/test-results-full-path
...
Show full path to test-result.json file
2022-01-19 14:26:32 -08:00
Ron Rennick
7c04c5893c
e2e package changelog cleanup
2022-01-18 05:04:32 -04:00
jamelreid
c1d0f510af
Updated CHANGELOG.md
2022-01-13 10:52:55 -05:00
jamelreid
b89b67658a
Updated method import
2022-01-13 10:52:44 -05:00
jamelreid
564ea31c5d
Changed method name to resolveSingleE2EPath
2022-01-13 10:52:15 -05:00
jamelreid
e1f030f832
Updated comments
2022-01-12 18:37:05 -05:00
jamelreid
f08da97fe6
Updated CHANGELOG.md
2022-01-12 18:27:43 -05:00
jamelreid
60630d19a2
Updated comments
2022-01-12 18:27:35 -05:00
jamelreid
cb3dee07ee
Updated removePathDuplicates for smoke tests
2022-01-12 18:04:36 -05:00
jamelreid
d49a68079e
Imported and used removePathDuplicates method
2022-01-12 15:44:41 -05:00
jamelreid
059346a725
Added removePathDuplicates method
...
This method ensures that we can execute tests using a relative path with or without `plugins/woocommerce` and/or `tests/e2e` prepended on the test file path.
2022-01-12 14:00:00 -05:00
Lucas Bustamante
926fed6828
Store test-results.json file in the project under test folder
2022-01-12 14:09:38 -03:00
Lucas Bustamante
1a6708b57c
Keep the test-results.json file in the root dir of e2e-environment
2022-01-12 13:50:10 -03:00
Lucas Bustamante
037c6205d0
Remove extra space
2022-01-12 13:46:42 -03:00
Lucas Bustamante
e124d4125a
Add changelog
2022-01-12 13:44:32 -03:00
Lucas Bustamante
2cbedb1dc8
Show full path to test-result.json file
2022-01-12 13:39:38 -03:00
Ron Rennick
e5084c1ae9
Merge pull request #31559 from woocommerce/fix/31469
...
Allow multiple screenshots per test fix
2022-01-10 13:40:50 -04:00
jonathansadowski
dabd2c6bf2
Merge pull request #31581 from woocommerce/fix/circular-reference
...
change extension on scaffolding sample scripts
2022-01-07 14:26:47 -06:00
Jonathan Lane
54c3621cc8
Merge branch 'trunk' into fix/31469
2022-01-07 09:22:16 -08:00
Ron Rennick
a1784c5beb
change extension on scaffolding sample scripts
2022-01-06 11:02:05 -04:00
Ron Rennick
2071da88ef
fix jest-circus dependency, pnpm e2e-environment build
2022-01-05 22:04:50 -04:00
jonathansadowski
d71a9d9ba9
Revert "Add config default values"
2022-01-05 14:44:31 -06:00
Jonathan Lane
2a066286e4
Merge branch 'trunk' into fix/31469
2022-01-04 10:59:49 -08:00
Jon Lane
02be80b3e5
Update changelog
2022-01-04 10:34:38 -08:00
Jon Lane
333ea308b8
Append datetime string to end of filename for screenshot
2022-01-04 10:34:30 -08:00
jamelreid
e893aa9f37
Merged add/config-default-values with trunk
2022-01-03 09:26:43 -05:00
Lucas Bustamante
e89b8829bb
Normalized 4 spaces as tabs
2021-12-27 16:27:08 -03:00
Lucas Bustamante
65d622558f
Add changelog
2021-12-27 11:30:40 -03:00
Lucas Bustamante
0f29032a93
Add "defaultAttributes" JSON key
2021-12-27 08:40:07 -03:00
Lucas Bustamante
02e08bccb2
Add missing entries to default.json
2021-12-24 12:50:04 -03:00
jamelreid
3e1e7a635e
Merged add/config-default-values with trunk
2021-12-22 10:22:37 -05:00
jamelreid
bab269a544
Merge branch 'trunk' into add/config-default-values
2021-12-22 10:19:27 -05:00
Ron Rennick
d2390950d2
Merge pull request #31397 from woocommerce/add/post-external-smoke-test-results-to-pr
...
Post external smoke test results to GitHub PR
2021-12-22 10:04:44 -04:00
jonathansadowski
71cdcf322c
Merge pull request #31465 from woocommerce/fix/fail-package-builds-2
...
Add needed packages to build e2e
2021-12-20 11:11:19 -06:00
Jamel Noel Reid
2712e737a8
Update packages/js/e2e-environment/CHANGELOG.md
...
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-12-20 11:49:16 -05:00
jamelreid
53a7c0d16c
Merge branch 'trunk' into add/config-default-values
2021-12-20 10:54:09 -05:00
jamelreid
5b63fa9a75
Merged trunk into add/post-external-smoke-test-results-to-pr
2021-12-20 10:51:04 -05:00
Greg
e7d3a65752
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-16 13:39:15 -07:00
Greg
77bb3e958d
Logic for private repos and minor tweaks
2021-12-16 09:58:11 -07:00
roykho
b1e7abcd4a
Add needed packages to build e2e
2021-12-16 07:48:52 -08:00
Roy Ho
f7c93a6823
Merge branch 'trunk' into standardize-config-files
2021-12-16 05:44:48 -08:00
Greg
89d74d4bc3
Update to use new resolveLocalE2ePath
2021-12-15 14:06:19 -07:00
Greg
fdee881ab8
Prettier fixes
2021-12-15 13:59:17 -07:00
Greg
6e5005b0d4
Merge branch 'trunk' into add/plugin-upload-test-functionality
2021-12-15 13:43:46 -07:00
Ron Rennick
42dd5504f3
merge trunk
2021-12-15 14:26:54 -04:00
Roy Ho
af3585b67b
Merge branch 'trunk' into standardize-config-files
2021-12-15 07:13:58 -08:00
roykho
0f369d7040
Update package and node version
2021-12-15 07:08:37 -08:00
Ron Rennick
b478bbb949
Merge pull request #31415 from woocommerce/fix/jest-e2e-retries
...
Fix jest e2e retries
2021-12-14 22:34:22 -04:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
roykho
76794e374c
Restore babel/polyfill removed by accident
2021-12-14 12:10:28 -08:00
Ron Rennick
0c268ad998
fix merge conflicts
2021-12-14 14:40:01 -04:00
jamelreid
6dcab53871
Updated jest.retryTimes() to be a conditional
...
This way it doesn't matter if the call is made locally or from the package.
2021-12-14 13:14:41 -05:00
Greg
b9231cbf24
Regex fix
2021-12-14 11:11:53 -07:00
Greg
6fb892bca4
Linting updates
2021-12-14 10:56:44 -07:00
Greg
2762c9821a
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-14 10:49:53 -07:00
jamelreid
ac7c1e1ad6
Updated README.md
2021-12-14 12:48:07 -05:00
roykho
3ba275e6c9
Deprecate stylelint-config-wordpress with current package
2021-12-14 09:14:54 -08:00
roykho
ff7c615770
Move gitignore paths to root when it makes sense
2021-12-14 08:21:37 -08:00
jamelreid
e789dbeada
Added config to e2e-environment exports
2021-12-13 18:33:17 -05:00
jamelreid
ae2e004c0e
Added custom config.js to e2e-environment package
...
This custom config.js provides all the functionality of the config package along with extending the `get` method to accept an optional second argument that will be used if the property is not found in the config file.
2021-12-13 18:32:15 -05:00
jamelreid
5f85a42057
Updated CHANGELOG.md
2021-12-13 18:29:00 -05:00
Ron Rennick
a4618e7351
Merge pull request #31412 from woocommerce/fix/e2e-readme-paths
...
Updated paths in README.md
2021-12-13 18:55:02 -04:00
Greg
fba795421d
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-13 15:45:32 -07:00
Roy Ho
b12de19975
Merge pull request #31356 from woocommerce/prevent-npm
...
Prevent npm
2021-12-10 12:26:43 -08:00
jamelreid
ac83762aca
Disabled jest retries by default
2021-12-10 11:02:21 -05:00
jamelreid
feec71249a
Updated paths in READMe.md
2021-12-10 10:22:08 -05:00
jamelreid
68ca895e8b
Removed parameter
2021-12-09 16:46:55 -05:00
Ron Rennick
c5300e7a67
undo unintended changes to default.json
2021-12-09 17:08:48 -04:00
Ron Rennick
cf66823a55
add changelog and readme
2021-12-09 16:53:06 -04:00
roykho
f5b4c86e8e
Move ignore file to root level
2021-12-09 06:21:01 -08:00
Ron Rennick
2c5bed66e7
use path.sep throughout scaffolding
2021-12-08 19:38:45 -04:00
Ron Rennick
3041bb25fa
add uninstall feature
2021-12-08 19:08:29 -04:00
Greg
473c4e5279
Added upload and test functionality
2021-12-08 15:56:42 -07:00
Ron Rennick
036ab6a464
simplify core test scaffold, add default setup
2021-12-08 16:56:53 -04:00
Ron Rennick
2698cb36ff
add overwrite confirmation
2021-12-08 15:12:27 -04:00
jamelreid
17d2c25ae5
Added comment
2021-12-08 14:03:08 -05:00
jamelreid
1a5c44c472
Exported all methods from jest-object.config
2021-12-08 14:01:00 -05:00
jamelreid
6086223708
Added setupJestRetries to beforeAll block
2021-12-08 14:00:31 -05:00
jamelreid
a6f51a9a39
Added default param and exported all methods
2021-12-08 14:00:02 -05:00
jamelreid
1f14d557dd
Updated README.md with jest retry documentation
2021-12-08 13:59:10 -05:00
jamelreid
7b36ba2b3e
Updated CHANGELOG.md
2021-12-08 13:02:11 -05:00
jamelreid
00fc5495ef
Added script to post test results to GitHub PR
2021-12-08 12:48:24 -05:00
jamelreid
5b24808971
Stored test results as json
2021-12-08 12:47:50 -05:00
Ron Rennick
59f1f3a6b5
Give installFiles its own index
2021-12-08 13:47:30 -04:00
Ron Rennick
6989bd61f9
merge trunk
2021-12-08 12:12:34 -04:00
Ron Rennick
2ec68e0e69
code cleanup
2021-12-08 11:07:24 -04:00
jamelreid
021b61a5f9
Merge branch 'trunk' into add/jest-retry
2021-12-06 17:50:22 -05:00
jamelreid
cbbe8eeec1
Updated CHANGELOG.md
2021-12-06 16:10:55 -05:00
roykho
286928bb6d
Ignore package-lock.json
2021-12-02 11:12:27 -08:00
roykho
c03bcc59b4
Prevent the use of npm to install packages
2021-12-02 11:09:46 -08:00
jamelreid
35286bbbe6
Added jest-object.config.js file
...
This file is intended to be used to configure the jest object in a single place.
The setupJestObject method can be imported from @woocommerce/e2e-environment for easy usage.
2021-12-02 09:40:27 -05:00
jamelreid
920c1a7580
Updated testRunner to be jest-circus
2021-12-01 14:35:06 -05:00
jamelreid
69dc645f0e
Added the jest-circus package
...
In jest version before 27, we need to use jest-circus. For 27 and after, jest-circus is the default test runner.
2021-12-01 14:34:28 -05:00
jamelreid
72cf968bce
Updated CHANGELOG.md
2021-12-01 14:33:34 -05:00
jamelreid
92ae77c817
Updated browser viewport dimensions
2021-11-29 13:54:44 -05:00
jamelreid
7ac1fa6369
Updated CHANGELOG.mdO
2021-11-29 13:54:15 -05:00
Ron Rennick
25cd08933c
add --ext and --format arguments
2021-11-26 16:55:22 -04:00
Ron Rennick
a21af3d3c6
add resolvePackage(), resolvePackagePath() utilities
2021-11-26 15:14:49 -04:00
Claudio Sanches
bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
...
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Ron Rennick
6c197cc743
Merge branch 'trunk' into poc/e2e-scaffold
2021-11-25 12:16:23 -04:00
Ron Rennick
226d5ac423
port config, waitForSelector from puppeteer-utils ( #31240 )
2021-11-23 18:55:42 +01:00
Ron Rennick
e449511ff0
Clean up e2e-environment changes from monorepo reorg ( #31233 )
...
* add flag to distinguish between the development repo and npm package
* introduce local E2E file resolver function
* update package changelog and readme
2021-11-23 13:56:24 +01:00
Ron Rennick
23f4f1c744
avoid issues with preconfigured curl options in npm ( #31232 )
2021-11-23 13:16:05 +01:00
Ron Rennick
b698a80f36
add basic test spec installer
2021-11-19 17:02:02 -04:00
Ron Rennick
43d73eb32a
update package changelog and readme
2021-11-17 10:02:15 -04:00
Ron Rennick
61fd4e0a5e
introduce local E2E file resolver function
2021-11-17 09:50:40 -04:00
Ron Rennick
df582a20d3
add flag to distinguish between the development repo and npm package
2021-11-16 11:35:30 -04:00
Paul Sealock
fc839d212d
update all usages
2021-11-16 15:16:20 +13:00
Christopher Allford
c91dda177d
Fix E2E Tests ( #31205 )
...
* Removed Changlogger Autoload
* Changed Jetpack Changelogger Formatter Loading
Rather than using the Composer autoload, we should use the
changelogger's "filename" option to point directly at the file.
This keeps the file out of the autoloads, since it's possible that
plugins or packages may be symlinked and break the relative
path to the plugin.
2021-11-16 15:01:50 +13:00
Paul Sealock
15f26ee8f7
update to 3.0.2 of changelogger
2021-11-11 17:03:44 +13:00
Paul Sealock
5d6539d209
lock files
2021-11-11 16:55:05 +13:00
Paul Sealock
5c68568bb7
Revert "add nx composer-install targets"
...
This reverts commit ffaef64343
.
2021-11-11 16:47:50 +13:00
Paul Sealock
ffaef64343
add nx composer-install targets
2021-11-11 16:43:27 +13:00
Paul Sealock
20fb81eb5a
point to next changelog
2021-11-11 16:38:38 +13:00
Paul Sealock
e08cc18e16
js packages next changelogs
2021-11-11 16:34:50 +13:00
Paul Sealock
a5abab9ab0
Add Jetpack Changelogger
2021-11-11 16:28:10 +13:00
Ron Rennick
ce20bd0931
add generic container environment variable support for PHP, DB
2021-11-10 06:48:59 -04:00
Roy Ho
9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
...
Setup nx
2021-11-09 20:26:37 -08:00
roykho
d839bdfc94
Implement executors for all script commands
2021-11-09 12:35:22 -08:00
Ron Rennick
c6ee9e3b0a
use consistent defaultViewport
2021-11-08 12:51:54 -04:00
roykho
4501f13a87
Accommodate different directory names for woocommerce
2021-11-05 10:09:34 -07:00
roykho
7dc6ae6316
Add Nx basic script executors for packages
2021-11-05 08:15:04 -07:00
roykho
b5715bfd88
Add Nx lint to e2e-environment
2021-11-05 05:54:57 -07:00
roykho
b64d0b3dfe
Add initial project.json config files to all packages and plugins
2021-11-04 14:51:04 -07:00
Tomek Wytrębowicz
e73329fdf3
Update links to moved e2e READMEs.
2021-11-04 12:58:11 +01:00
Paul Sealock
789d942f89
Update e2e package locations and add PNPM ( #30977 )
2021-10-29 08:32:31 +13:00