-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat: warn when detecting unsupported dependencies for component testing #22964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
8b88d8d
c06cd83
b6b8f7b
00b70e7
41fd73f
462f606
b9b1c20
4a904bd
499ca0a
eed378e
0e9e9b0
d17479b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ | |
| > | ||
| <div | ||
| ref="markdownTarget" | ||
| class="warning-markdown" | ||
| v-html="markdown" | ||
| /> | ||
| <Button | ||
|
|
@@ -68,3 +69,14 @@ let message = computed(() => { | |
|
|
||
| const { markdown } = useMarkdown(markdownTarget, message.value, { classes: { code: ['bg-warning-200'] } }) | ||
| </script> | ||
|
|
||
| <style lang="scss"> | ||
| // Add some extra margin to the <ul> | ||
| // TODO: ideally move this into `frontend-shared/src/composables/useMarkdown` | ||
| // It doesn't get applied when added there due to conflicting with other, higher priority rules. | ||
| .warning-markdown { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason to not use tailwind?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done - I still need to do The reason I did it like this is we need to style the Updated the code leaving a comment - not sure if this ever will be addressed, but at least it'll point people to the right place if they want to expand on the styling. |
||
| ul { | ||
| @apply ml-16px mb-16px; | ||
| } | ||
| } | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| module.exports = { | ||
| component: { | ||
| supportFile: false, | ||
| devServer: { | ||
| bundler: 'vite', | ||
| framework: 'react', | ||
| }, | ||
| indexHtmlFile: 'cypress/component/support/component-index.html', | ||
| }, | ||
| } |

Uh oh!
There was an error while loading. Please reload this page.