Norbert de Langen
7d80c53471
add linting on scripts dir && fix linting
2022-07-23 17:15:13 +02:00
Norbert de Langen
43649105e1
fix refs to where cypress tests are
2022-07-22 18:57:20 +02:00
Norbert de Langen
897c8da629
experiment on making e2e tests work again
2022-07-22 18:17:21 +02:00
Norbert de Langen
c23f36aa89
fix the e2e script
2022-07-22 09:30:35 +02:00
Norbert de Langen
cbc300b69e
fix e2e pnp
2022-06-13 15:14:29 +02:00
Norbert de Langen
e53d85454e
fix compodoc missing
2022-06-07 09:28:14 +02:00
Norbert de Langen
b9aad63a27
fix e2e
2022-05-31 15:17:42 +02:00
Norbert de Langen
07147a1a26
fixing linting
2022-04-25 15:22:02 +02:00
Michael Shilman
eb15607f99
Run sb build
instead of build-storybook
2022-04-20 21:57:00 +08:00
Yann Braga
0222285c2d
chore(ci): add main overrides to e2e config and test runner
2022-03-22 13:06:24 +01:00
Norbert de Langen
d3305f8086
fix e2e tests and update the CI version of node
2022-02-01 15:16:56 +01:00
Michael Shilman
8888ebc014
Fix prettier 2.3 formatting across the codebase
2022-01-14 23:26:56 +08:00
Yann Braga
1d051d684e
add ability to skip cypress tests based on framework
2021-10-08 12:02:52 +02:00
Gaëtan Maisse
983ce9c410
chore: improve the way Cypress records are handled as CircleCI artefacts
2021-07-12 21:38:33 +02:00
Yann Braga
31bb449a70
fix(cli): add min option to choose in run-e2e
...
- If people press enter without selecting any option, it will not proceed
2021-06-18 19:26:12 +02:00
Gaëtan Maisse
a9596f1b0a
fix(e2e): improve framework selection to avoid prompt on CI
2021-05-24 18:14:39 +02:00
Gaëtan Maisse
f7ee582d33
fix(e2e): fix exit code when Cypress tests are failing
2021-05-24 17:48:29 +02:00
Gaëtan Maisse
ee559b0e8b
refactor(e2e): fix deepscan warning
2021-05-18 18:08:19 +02:00
Gaëtan Maisse
544000fb32
refactor(e2e): clean some duplicated code, reduce log and improve E2E command output
2021-05-18 17:56:00 +02:00
Yann Braga
8fde456a3f
chore(e2e-scripts): improve CLI with prompts
2021-05-14 20:35:40 +02:00
Gaëtan Maisse
27fa6e1889
refactor(repro): make the generator responsible for mkdir the repro directory if needed
2021-05-10 22:49:15 +02:00
Michael Shilman
16d58fe836
Fix appName in both repro and e2e
2021-05-10 15:08:37 +08:00
Gaëtan Maisse
95c31b7379
e2e: reduce Cypress timeout to 4s
2021-05-09 20:43:22 +02:00
Gaëtan Maisse
426bbe55ab
e2e: use config from repro instead of duplicating them
2021-05-09 19:21:37 +02:00
Gaëtan Maisse
194a699104
feat(repro): add pnp
flag to use Yarn in Plug'n'Play mode
2021-05-09 17:22:22 +02:00
Michael Shilman
0609971609
Fix deepscan
2021-05-08 21:51:32 +08:00
Gaëtan Maisse
86899610c6
e2e: fix name replacement in repro config, add hack for CRA setup, ensure repro is a git repo
2021-04-30 23:25:45 +02:00
Gaëtan Maisse
d42bb9e89c
Revert "e2e: clean unnecessary folder "tooling""
...
This reverts commit 4aefea59
2021-04-30 09:40:57 +02:00
Gaëtan Maisse
4aefea598e
e2e: clean unnecessary folder "tooling"
2021-04-30 08:39:47 +02:00
Gaëtan Maisse
8ac0be88b2
e2e: always use npx to bootstrap example and yarn dlx to run sb init
...
The e2e process is the following:
- Use `npx` or bare `yarn init` to generate an app
- Install Yarn 2 in the generated app
- If running with `--e2e` then configure Yarn 2 with stricter options and to use local registry
- Add TypeScript and other required deps if needed (using Yarn 2)
- Init Storybook using Yarn 2 with `yarn dlx sb init ...`
2021-04-30 00:03:05 +02:00
Clément DUNGLER
2be11d0df8
fix e2e and track progression
2021-04-29 22:29:11 +02:00
Clément DUNGLER
fdbf0020cf
add generator option to repro, move e2e configs
2021-04-27 23:25:29 +02:00
Clément DUNGLER
2412e20a8b
use repro in e2e
2021-04-20 22:23:38 +02:00
Gaëtan Maisse
9ece9c584b
ci: rework E2E tests in CircleCI
...
New layout:
- `e2e-tests-core` for "officially" supported frameworks : Vue + Angular (+ React + Web Components in e2e-tests-pnp)
- `e2e-tests-extended` for other frameworks: Preact, Svelte, Riot, Rax etc
- `e2e-tests-pnp` for some frameworks/setups compatible with PnP: React + WC
2021-04-13 22:14:27 +02:00
Gaëtan Maisse
95dd517b32
e2e: disable yarn immutable install by default during E2E tests
...
For details, see https://github.com/yarnpkg/berry/blob/master/CHANGELOG.md#300-rc1
2021-04-12 19:03:52 +02:00
Gaëtan Maisse
98fa420bef
chore: move to Yarn 2 🧶
2021-04-07 18:25:38 +02:00
Gaëtan Maisse
9a5933b49a
e2e: fix a typo currently preventing us to run Yarn 2 PnP test in the CI
2021-02-15 21:20:09 +01:00
Gaëtan Maisse
149b412b62
Merge branch 'next' into fix/sb-cli-prompt
2021-01-13 20:33:29 +01:00
Gaëtan Maisse
8364d87855
e2e: remove outdated deletion of yarn_2_cra
config
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:42 +01:00
Gaëtan Maisse
17f0857292
e2e: add CLI option to skip some framework
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:42 +01:00
Gaëtan Maisse
ccf5de2d67
e2e: rename everything related to Yarn 2 to Yarn 2 PnP as there is now a node_modules mode too
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:42 +01:00
Gaëtan Maisse
df5bb84ffd
e2e: use official release of Yarn 2
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:41 +01:00
Yann Braga
67037aa6aa
fix(e2e): correct local cli path
2020-12-27 00:23:40 +01:00
Gaëtan Maisse
e440498fc6
e2e: update missing package extensions for Yarn 2 tests
2020-11-16 14:05:38 +01:00
Gaëtan Maisse
09ddc14d18
e2e: use unreleased version of Yarn 2 to fix issue with fsevents patch
2020-11-16 14:05:38 +01:00
Gaëtan Maisse
bb44e7c923
e2e: move dep install step before SB init
...
- This better mimic what user are doing when using SB init
- Ensure we have a proper yarn.lock before running `sb init` and so SB cli will use yarn instead of NPM.
2020-11-14 11:58:04 +01:00
Gaëtan Maisse
e1e9a3fab9
e2e: remove setResolution
step
2020-11-14 11:58:02 +01:00
Gaëtan Maisse
d922af0ec1
ci: move back angular E2E tests to classic executor as they rework on Node 10
2020-11-12 18:50:53 +01:00
Gaëtan Maisse
41f80ec6a7
ci: extract cra_bench in a dedicated job
...
CRA Bench requires Node 12 and isn't a "true" E2E test so it makes sense to move it in a dedicated job.
2020-10-12 22:33:27 +02:00
Gaëtan Maisse
c9a13a36b7
ci: run Angular E2E tests on executors with the latest version of Node 12
2020-10-12 21:12:43 +02:00