fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

feat(tools): implement `cypress-component-configuration` generator

Open Hotell opened this issue 2 years ago • 3 comments

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-configuration generator

DEMO:

yarn nx workspace-generator cypress-component-configuration --project=@fluentui/react-text

  1. adding by providing --project image

  2. adding by using interactive prompt

image
  1. no-op if used on application
image

Related Issue(s)

  • Fixes #27223

Hotell avatar Jun 02 '23 11:06 Hotell

📊 Bundle size report

🤖 This report was generated against cf6b94ba6559236150bc1f1814b023607edaeb20

fabricteam avatar Jun 02 '23 11:06 fabricteam

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: cf6b94ba6559236150bc1f1814b023607edaeb20 (build)

size-auditor[bot] avatar Jun 02 '23 11:06 size-auditor[bot]

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

codesandbox-ci[bot] avatar Jun 02 '23 11:06 codesandbox-ci[bot]