Skip to content

feat(ct): before mount hook wrapper#18616

Merged
pavelfeldman merged 8 commits intomicrosoft:mainfrom
sand4rt:ct-solid-router2
Dec 27, 2022
Merged

feat(ct): before mount hook wrapper#18616
pavelfeldman merged 8 commits intomicrosoft:mainfrom
sand4rt:ct-solid-router2

Conversation

@sand4rt
Copy link
Copy Markdown
Contributor

@sand4rt sand4rt commented Nov 7, 2022

  • Solid before mount
  • React before mount
  • React vite before mount
  • Vue vite before mount alignment
  • Vue cli before mount alignment
  • Vue2 before mount alignment
    Svelte before mount
    Svelte vite before mount

Not sure if a similar pattern can be devised for Svelte. It seems that this is not possible.

@pavelfeldman @mlmmn this closes #14345 right?

Comment thread tests/components/ct-solid/playwright/index.tsx Outdated
@sand4rt sand4rt marked this pull request as ready for review November 9, 2022 10:04
@sand4rt sand4rt changed the title feat(ct): solid router feat(ct): before each hook wrapping Nov 9, 2022
@sand4rt sand4rt marked this pull request as draft November 9, 2022 10:37
@sand4rt sand4rt changed the title feat(ct): before each hook wrapping feat(ct): before mount hook wrapper Nov 9, 2022
@sand4rt sand4rt force-pushed the ct-solid-router2 branch 3 times, most recently from 1821360 to 21cd096 Compare November 11, 2022 13:30
@pastelsky
Copy link
Copy Markdown
Contributor

pastelsky commented Dec 1, 2022

Just want to say that having this would be super helpful for storybook-style global decoration. Looking forward to this making its way to the core.
Let me know if I can help in anyway here.

@pastelsky
Copy link
Copy Markdown
Contributor

Looks like all pre-requisites are done for this one.

@sand4rt
Copy link
Copy Markdown
Contributor Author

sand4rt commented Dec 20, 2022

Looks like all pre-requisites are done for this one.

I'm on it, hope to have the PR ready for review this week

@sand4rt sand4rt marked this pull request as ready for review December 21, 2022 14:05
@sand4rt sand4rt requested a review from pavelfeldman December 21, 2022 20:31
Comment thread packages/playwright-ct-react/registerSource.mjs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow custom mount fixture for component testing

3 participants