72 Commits

Author SHA1 Message Date
Valentin Palkovic
cdadf6cec6 Fix addon-docs E2E tests 2025-02-06 13:15:10 +01:00
Valentin Palkovic
51c02bcecd
Update addon-docs.spec.ts 2025-02-06 11:26:54 +01:00
Valentin Palkovic
fc4af7d0d3 CI: Fix E2E test for react-vite/default-ts 2025-02-06 10:39:36 +01:00
Kasper Peulen
f3b3e56dc5 Disable react check for nuxt 2024-12-13 17:01:40 +01:00
Michael Shilman
ee7b69fead Tweak RNW CI 2024-11-17 23:10:46 +08:00
Yann Braga
2ac6955886 fix types 2024-11-12 09:33:30 +01:00
Yann Braga
800cefb925 fix e2e 2024-11-12 08:03:33 +01:00
Yann Braga
959f975f03 change testing strategies
Move to test-storybooks as the e2e tests for UI module involve side effects and spawning vitest which takes time. Doing that in a sandbox is convoluted because there are too many stories
2024-09-27 13:33:04 +02:00
Valentin Palkovic
12f802955b Preact: Fix E2E test
Since v10.24.0, Preact pretends to be React version 18.3.1 instead of 17.0.2.
This change has caused an assertion failure in one of our E2E tests where
we have assumed to see React 17.0.2 printed in one of our stories.
2024-09-16 21:12:09 +02:00
Jeppe Reinhold
bb3301cd61 add playwright eslint plugin, fix tests by rules 2024-09-03 21:49:36 +02:00
Jeppe Reinhold
82281206f4 use auto-retrying assertions in e2e tests 2024-09-03 20:23:46 +02:00
Norbert de Langen
513bb66bb9 apply sorting to code 2024-08-08 13:00:19 +02:00
Norbert de Langen
e2057b8893 fix 2024-06-05 10:03:55 +02:00
Norbert de Langen
f6b4fbd9ea fix e2e test for nextjs/prerelease 2024-05-08 10:03:16 +02:00
Jeppe Reinhold
206e6ec62c dont be stupid now 2024-05-05 17:21:51 +02:00
Jeppe Reinhold
bd1f0cbc6b expect React 19 in react prerelease sandboxes 2024-05-05 15:30:13 +02:00
Jeppe Reinhold
b6e832d670 use auto-retrying assertions for text content in e2e tests
See https://playwright.dev/docs/test-assertions
2024-04-25 12:28:45 +02:00
Jeppe Reinhold
1e5a57c1da only assert on major versions in resolved react e2e test 2024-03-22 14:47:13 +01:00
Jeppe Reinhold
2a38e0eeb6 support react-dom/server version not being available in preact 2024-03-21 22:53:59 +01:00
Jeppe Reinhold
c75c98f0fa account for version mismatch in react-dom 2024-03-21 08:47:02 +01:00
Jeppe Reinhold
8699394358 add stories and autodocs for resolved react in addon-docs templates 2024-03-20 13:38:50 +01:00
Jeppe Reinhold
7290a2c2d8 add explicit react-dom/server alias for vite 2024-03-18 16:09:29 +01:00
Jeppe Reinhold
68c535031d Add E2E test for multiple CSF files with same title in autodocs 2024-02-27 09:16:29 +01:00
Kasper Peulen
c4db489a4b Re-enable flaky tests 2024-02-16 18:32:05 +01:00
Michael Shilman
999f449655 Skip flakey tests, will fix after merge 2024-02-01 17:38:14 +08:00
Kasper Peulen
021c101faf Apply updated eslint rules 2024-01-15 13:33:41 +01:00
Norbert de Langen
99a1b78ade fix 2023-12-14 12:26:52 +01:00
Jeppe Reinhold
d0979bc948 fix e2e test asserting react 17 2023-12-13 22:50:23 +01:00
Jeppe Reinhold
171493e7a2 add e2e test for resolved react version 2023-12-13 13:35:44 +01:00
Kasper Peulen
b9b73babcd Remove more references 2023-12-05 16:35:43 +01:00
Yann Braga
b47521d36a e2e: make sure we start every test with clean state 2023-08-01 14:34:21 +02:00
Valentin Palkovic
99047dd248 Fix flaky e2e tests 2023-07-27 15:37:38 +02:00
Norbert de Langen
1f967e21b2
improve 2e2 test consistency 2023-07-10 11:35:58 +02:00
Kasper Peulen
914286e848 Revert "Docs: E2E tests for Source block update fix" 2023-06-06 11:43:12 +02:00
chakAs3
d028cde9c5 skip internal and ca for test 2023-06-02 20:51:33 +04:00
chakAs3
a0cd9c5c6f skip angular for dynamic source test 2023-06-02 20:19:52 +04:00
chakAs3
ec6cdf5595 skip angular for test 2023-06-02 19:46:58 +04:00
chakAs3
1bd982ebd8 added lit to Skipped renderer not supporting dynamic 2023-05-31 16:03:00 +04:00
chakAs3
3623501ba6 add test check if value changes back to previous 2023-05-30 10:11:22 +04:00
Yann Braga
40b8841e53 use correct selector for source snippets test 2023-04-14 14:15:08 +02:00
Yann Braga
82ec4cc278 use string matching instead of snapshot 2023-04-14 11:32:23 +02:00
Yann Braga
a02dbc099e update selector for source code e2e test 2023-04-14 10:16:33 +02:00
Valentin Palkovic
6a5c2e5377 Add e2e tests to verify parameters.docs.source.type === 'code' behaviour 2023-04-12 16:02:14 +02:00
Valentin Palkovic
afcd828c7e Revert "Fix csf-plugin loader"
This reverts commit 372a5501163b8499f2372bb5f25c87b3fb8d9bae.
2023-04-12 13:03:40 +02:00
Valentin Palkovic
372a550116 Fix csf-plugin loader
The CSF-Plugin loader was not applying the necessary transformations in Angular projects.

Co-authored-by: Norbert de Langen <ndelangen@me.com>
2023-03-16 14:39:53 +01:00
Tom Coleman
7aecf57f9e Fix e2e test properly 2023-02-24 16:52:30 +11:00
Tom Coleman
6ecced19db Fix selector for error test 2023-02-24 16:07:58 +11:00
Tom Coleman
73744a60e4
Update code/e2e-tests/addon-docs.spec.ts
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2023-02-23 23:19:33 +11:00
Tom Coleman
c476261ac8 Add a story that throws 2023-02-23 16:04:43 +11:00
Tom Coleman
f5d598916c Re-enable snippets test for nextjs 2023-02-15 10:41:10 +11:00