Commit Graph

33 Commits

Author SHA1 Message Date
Jamel Noel Reid c207005c85
Fix app root fetching when using PNPM version 7 (#33929)
* Updated to pass lint checks

* Used __dirname to determine package path
2022-07-27 14:13:17 -06:00
Lourens Schep 8dc7bfbb85 Use assets browser download url if it exists over archive tag name 2022-03-30 12:38:47 -03:00
jamelreid 256d766518 Updated logic to resolveSingleE2EPath
All tests are expected to be found in the tests/e2e directory, so in the event that tests/e2e is a part of the single test path, it is removed to ensure the file path is correct.
2022-02-18 13:02:59 -05:00
jamelreid a756af894c Clean up 2022-02-18 09:22:56 -05:00
jamelreid c73c2be097 Exclude the project root when ran in GitHub CI 2022-02-16 23:31:04 -05:00
Lucas Bustamante 6ec677643f CR: Spacing 2022-02-04 12:21:57 -03:00
Lucas Bustamante d63a697d20 Merge branch 'trunk' into e2e/add-force-to-test-scaffold 2022-02-03 20:35:34 -03:00
jamelreid 68af14a26b Updated to handle removing directories 2022-01-27 10:11:13 -05:00
Lucas Bustamante e1ca45e07d Keep original if statement order 2022-01-26 13:35:03 -03:00
Lucas Bustamante 15291424e2 Add --force argument to scaffold test setup files without confirmation 2022-01-26 13:27:25 -03: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 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 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
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
Ron Rennick a1784c5beb change extension on scaffolding sample scripts 2022-01-06 11:02:05 -04:00
Jon Lane 333ea308b8 Append datetime string to end of filename for screenshot 2022-01-04 10:34:30 -08:00
Greg 77bb3e958d Logic for private repos and minor tweaks 2021-12-16 09:58:11 -07: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
Greg b9231cbf24 Regex fix 2021-12-14 11:11:53 -07:00
Greg 6fb892bca4 Linting updates 2021-12-14 10:56:44 -07: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 59f1f3a6b5 Give installFiles its own index 2021-12-08 13:47:30 -04:00
Ron Rennick 2ec68e0e69 code cleanup 2021-12-08 11:07:24 -04:00
Ron Rennick a21af3d3c6 add resolvePackage(), resolvePackagePath() utilities 2021-11-26 15:14:49 -04: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 61fd4e0a5e introduce local E2E file resolver function 2021-11-17 09:50:40 -04:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00