-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/next' into kasper/fix-nx-cache
- Loading branch information
Showing
315 changed files
with
59,336 additions
and
1,655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,19 @@ executors: | |
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
sb_playwright_component_testing: | ||
parameters: | ||
class: | ||
description: The Resource class | ||
type: enum | ||
enum: ["small", "medium", "medium+", "large", "xlarge"] | ||
default: "small" | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: mcr.microsoft.com/playwright:v1.42.1-jammy | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
|
||
orbs: | ||
git-shallow-clone: guitarrapc/[email protected] | ||
|
@@ -565,7 +578,39 @@ jobs: | |
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >> | ||
STORYBOOK_DISABLE_TELEMETRY: true | ||
- report-workflow-on-failure | ||
|
||
test-portable-stories: | ||
parameters: | ||
directory: | ||
type: string | ||
executor: | ||
name: sb_playwright_component_testing | ||
class: medium | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Install dependencies | ||
command: yarn install | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Jest tests | ||
command: yarn jest | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Vitest tests | ||
command: yarn vitest | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Playwright CT tests | ||
command: yarn playwright | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Cypress CT tests | ||
command: yarn cypress | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- report-workflow-on-failure | ||
workflows: | ||
docs: | ||
when: | ||
|
@@ -624,6 +669,12 @@ workflows: | |
parallelism: 5 | ||
requires: | ||
- build-sandboxes | ||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
# TODO: reenable once we find out the source of flakyness | ||
# - test-runner-dev: | ||
# requires: | ||
|
@@ -676,6 +727,12 @@ workflows: | |
parallelism: 14 | ||
requires: | ||
- build-sandboxes | ||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
- bench: | ||
parallelism: 5 | ||
requires: | ||
|
@@ -733,7 +790,12 @@ workflows: | |
parallelism: 30 | ||
requires: | ||
- build-sandboxes | ||
|
||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
- test-empty-init: | ||
requires: | ||
- build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 97 additions & 0 deletions
97
code/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.