84 Commits

Author SHA1 Message Date
Ítalo Teixeira
10caa770b9 feat: add interactions to preact cli template 2022-04-16 16:34:20 +02:00
Yann Braga
f4e00ff3da add vite to interaction e2e tests 2022-04-06 09:01:35 +02:00
Norbert de Langen
450fb4aa30
fix e2e test 2022-03-31 15:43:17 +02:00
Norbert de Langen
f2741c5d36
swap order of e2e tests around
this makes them pass, we think that perhaps some tests are leaking into each other.
We plan to migrate off of cypress in the future,
so I'm not going to spend more time on improving this.
2022-03-31 14:28:10 +02:00
Yann Braga
8d77a85caf test: add E2E test for addon-interactions 2022-02-07 10:45:01 +01:00
Norbert de Langen
9aff54fe4c
format all tsconfig.json files 2022-01-25 20:00:21 +01:00
Gaëtan Maisse
d363da7926
e2e: skip source snippet cypress test with @storybook/html 2021-10-31 18:59:57 +01:00
Gaëtan Maisse
46729124d2
test: use force click for cypress e2e test as it looks to fix a flaky test 2021-10-26 21:47:50 +02:00
Gaëtan Maisse
6fa76e2880
Merge branch 'next' into update-cypress-and-node 2021-10-25 18:33:24 +02:00
Michael Shilman
537abe1b0b
Merge pull request #16420 from storybookjs/16050-modernize-links
Addon-links: Modernize to be compatible with v7 store
2021-10-21 18:36:34 +08:00
Yann Braga
adb72868b7 Fix e2e test for addon-links 2021-10-21 12:15:21 +02:00
Michael Shilman
52d073354d Force click to try to get CI passing 2021-10-21 17:27:54 +08:00
Michael Shilman
5a4ab4b0a6 Add e2e test for addon-links 2021-10-21 17:11:09 +08:00
Michael Shilman
958a0e44ef fix typo in docs spec 2021-10-21 16:38:54 +08:00
Gaëtan Maisse
94c269a8b6
test: use force click for cypress e2e test as it looks to fix a flaky test 2021-10-11 20:14:00 +02:00
Gaëtan Maisse
1c3e6d66db
Merge branch 'next' into update-cypress-and-node 2021-10-11 09:02:56 +02:00
Yann Braga
4870eafc42 experiment with force clicking for e2e command 2021-10-08 19:22:13 +02:00
Yann Braga
1d051d684e add ability to skip cypress tests based on framework 2021-10-08 12:02:52 +02:00
Michael Shilman
932e1677b1 Handle other language types 2021-10-08 17:06:28 +08:00
Michael Shilman
930b08e71b Add docs source e2e test 2021-10-08 14:30:28 +08:00
Gaëtan Maisse
8a768994a8
chore: upgrade Cypress and also Node.js version used in e2e tests 2021-10-07 08:34:28 +02:00
Michael Shilman
6cb4da5561 E2e tests: Add DocsPage inline story rendering test 2021-09-24 13:15:08 +08:00
Michael Shilman
f2edc58755 Fix docs test 2021-09-14 13:05:59 +08:00
Michael Shilman
168e5466a5 Add simple docs tab e2e test 2021-09-14 12:21:57 +08:00
Gaëtan Maisse
6c117b9edd
fix(e2e): fix selector used in Addon controls Cypress tests 2021-05-24 17:28:25 +02:00
Yann Braga
adff90603e test(lit): disable controls assertion temporarily
- until all CLI templates are aligned we can't test radio controls
2021-05-14 15:16:18 +02:00
Yann Braga
d4c1269784 test(controls): add e2e scenario for controls 2021-05-14 15:16:18 +02:00
Michael Shilman
ddcb3bd37e Extract addon-knobs from monorepo 2021-05-10 16:50:58 +08:00
Gert Hengeveld
b077fb7a69 Try with the 'attr' method. 2020-10-08 10:24:07 +02:00
Gert Hengeveld
fb81a83a27 Try with the 'attribute' method. 2020-10-08 10:04:36 +02:00
Gert Hengeveld
eb88960fba Ensure parent is expanded before trying to click an item. 2020-10-08 09:43:04 +02:00
Gert Hengeveld
e9f1ded662 Make sure Cypress can know when a story is selected. 2020-10-08 00:14:40 +02:00
Gert Hengeveld
008dd29947 Try to fix e2e test. 2020-10-07 22:18:33 +02:00
Gert Hengeveld
8d0651a094 Update e2e test for search. 2020-10-07 21:20:15 +02:00
Yann Braga
9e89143cab test(e2e): add canvas body element selector
- also update tests for addon-backgrounds
2020-09-24 14:58:27 +02:00
Yann Braga
09bd72ba2d test(addons): e2e tests for backgrounds and grid 2020-09-24 14:58:26 +02:00
Yann Braga
880f6644b2 test: add support command to get canvas element 2020-09-24 14:58:26 +02:00
merceyz
d00c77e9c0 fix: require.resolve loaders and add missing dependencies 2020-09-04 13:35:22 +02:00
Gaëtan Maisse
6d79ed2b88
fix(e2e): update test of viewport to match latest example stories
Example stories used in CLI have been updated recently however the E2E tests were not changed accordingly.
2020-07-20 21:23:16 +02:00
Michael Shilman
b101f9e15d Merge branch 'next' into 10723-update-cli-template-stories 2020-07-15 15:03:31 +08:00
tooppaaa
25089c1dfc Angular CLI 2020-07-14 22:55:16 +02:00
Gaëtan Maisse
0dabfc538e
test(e2e): add a simple test for viewport addon
CLI now generates project with `addon-essential` so it enable `addon-viewport` by default.
I added a simple test to check that viewport is properly loaded:
 - Go to Welcome Story
 - Click on Viewport button in the toolbar
 - Select "Small Mobile"
 - Check that Welcome Story is still displayed
2020-07-12 16:16:33 +02:00
tooppaaa
b67c65f197 add e2e target 2020-07-11 22:55:31 +02:00
tooppaaa
c7afe6beee Attempt to set babel core 2020-07-06 22:01:21 +02:00
tooppaaa
44239668fd change timeout 2020-07-05 22:33:06 +02:00
tooppaaa
74adc63282 increase timeout 2020-07-05 22:03:18 +02:00
tooppaaa
1f5448e8d2 stab e2e 2020-07-05 21:11:07 +02:00
tooppaaa
bd779f0e6c small change cypress 2020-07-05 18:50:20 +02:00
tooppaaa
b5ff9acdb8 change how visit is done 2020-07-05 14:44:52 +02:00
tooppaaa
e8e37ac7ad CLI: add common welcome and cleanup 2020-07-05 11:03:01 +02:00