fluentui
fluentui copied to clipboard
feat(tools): implement `cypress-component-configuration` generator
Previous Behavior
- just.config template contains backtick that triggers error on file parsing
- cypress config was only "setup" (updated) if there was a tsconfig.cy.json present in project
New Behavior
- just.config template works
- cypress config will be updated if it already exists within a project when running
migrate-converged-pkg - to add cypress component testing to your project you need to explicitly create it via
cypress-component-configurationgenerator
DEMO:
yarn nx workspace-generator cypress-component-configuration --project=@fluentui/react-text
-
adding by providing
--project -
adding by using interactive prompt
- no-op if used on application
Related Issue(s)
- Fixes #27223
Asset size changes
Size Auditor did not detect a change in bundle size for any component!
Baseline commit: cf6b94ba6559236150bc1f1814b023607edaeb20 (build)
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 0515f7c5f63884b205b35dde184f41eb3025e7dd:
| Sandbox | Source |
|---|---|
| @fluentui/react 8 starter | Configuration |
| @fluentui/react-components 9 starter | Configuration |