Gaëtan Maisse
b1ad174bf3
refactor(e2e): make yarn add/install
command run in e2e compatible with Yarn 2
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
6515930833
refactor(e2e): use base CRA tests config for Yarn 2 instead of a custom one
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
7e95114d79
feat(e2e): introduce --use-yarn-2
option to run tests with Yarn 2
2020-07-25 19:58:57 +02:00
tooppaaa
5f407b762b
Merge remote-tracking branch 'origin/next' into feature/essentialsCLI
2020-06-30 22:22:12 +02:00
Gaëtan Maisse
27c3c730f7
e2e: fix name of tests config to be valid npm project name
...
These names are used to init NPM project and so must follow validation rules:
https://github.com/npm/validate-npm-package-name
Moreover, they are now all consistant.
2020-06-30 20:36:31 +02:00
tooppaaa
ffb813a3e8
e2e: add anuglar v7-lts
2020-06-29 22:52:19 +02:00
tooppaaa
1367aea2b8
e2e: add anuglar v7-lts
2020-06-29 22:29:25 +02:00
tooppaaa
65f16f6c28
log what test failed
2020-06-25 00:06:09 +02:00
tooppaaa
46c298ca54
fix e2e
2020-06-05 23:10:19 +02:00
Norbert de Langen
7b8897b36c
Merge branch 'next' into feature/e2eZeroConfig
...
# Conflicts:
# scripts/run-e2e.ts
# yarn.lock
2020-06-04 17:46:37 +02:00
Gaëtan Maisse
23459576b8
test(e2e): improve jobs assignment on CI nodes
...
With the previous algorithm, some nodes have no jobs assigned to them due to rounding consideration.
For example with 10 nodes and 13 jobs to assign:
13 jobs / 10 nodes -> 1.3 jobs per node -> rounded to 2 -> only the 1st 6 nodes run 2 jobs, the 7th 1 job and the other 0 job.
Using a modulo ensures that each node will at least run 1 job.
2020-05-29 20:49:40 +02:00
Gaëtan Maisse
df737246d7
fix(e2e): remove skip-install
option from sb init command
...
Removed this option because it can hide some issues with dependency installation process of @storybook/cli.
For instance, missing Yarn flags needed to have the CLI working in Yarn workspaces.
Also, as `sb init` is now running `yarn/npm install` the resolution step has to be made before init Storybook.
2020-05-29 20:47:10 +02:00
tooppaaa
615dd52266
Core: Close server when e2e test failed
2020-05-22 09:02:08 +02:00
tooppaaa
ab78b076ed
Add e2e for zero config
2020-05-19 23:29:56 +02:00
tooppaaa
95380d3105
fix...
2020-05-19 10:12:51 +02:00
tooppaaa
e1ada00150
fix path
2020-05-19 09:41:56 +02:00
tooppaaa
c69e28c12f
fix ts
2020-05-19 09:13:46 +02:00
tooppaaa
cd8c903437
set resolutions
2020-05-18 23:52:29 +02:00
tooppaaa
b98dd109f8
fix resolution
2020-05-18 23:03:59 +02:00
tooppaaa
438d543680
add tsconfig for scripts
2020-05-18 22:29:50 +02:00
tooppaaa
2d47bfff4c
types
2020-05-18 15:10:08 +02:00
Norbert de Langen
b78317c5f2
WIP
2020-05-18 14:58:55 +02:00
tooppaaa
072b774693
core: ci and examples generation
2020-05-09 11:34:50 +02:00