Skip to content

chore(react-datepicker-compat): Add cypress and unit tests for DatePicker#27209

Merged
sopranopillow merged 7 commits intomicrosoft:masterfrom
sopranopillow:react-datepicker-compat/tests-datepicker
Mar 16, 2023
Merged

chore(react-datepicker-compat): Add cypress and unit tests for DatePicker#27209
sopranopillow merged 7 commits intomicrosoft:masterfrom
sopranopillow:react-datepicker-compat/tests-datepicker

Conversation

@sopranopillow
Copy link
Contributor

@sopranopillow sopranopillow commented Mar 14, 2023

This PR adds cypress tests and unit tests for DatePicker. A next step will be to add vr-tests which is tracked by another issue: #27207.

This PR also adds the basic config for cypress tests for react-datepicker-compat.

Related Issue(s)

@sopranopillow sopranopillow marked this pull request as ready for review March 15, 2023 00:05
@sopranopillow sopranopillow requested review from a team and khmakoto as code owners March 15, 2023 00:05
@fabricteam
Copy link
Collaborator

fabricteam commented Mar 15, 2023

📊 Bundle size report

🤖 This report was generated against be936b6edefb8d319b6693eb1f36230b716377da

@size-auditor
Copy link

size-auditor bot commented Mar 15, 2023

Asset size changes

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

Baseline commit: be936b6edefb8d319b6693eb1f36230b716377da (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 15, 2023

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 22b43fc:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@sopranopillow sopranopillow requested a review from khmakoto March 15, 2023 01:32
@tudorpopams tudorpopams requested a review from Hotell March 15, 2023 13:19
Copy link
Contributor

@Hotell Hotell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to add new tsconfig.cy.json and update tsconfig.lib.json includes and tsconfig.json references.

I thought this is covered by yarn nx workspace-generator migrate-converged-pkg @fluentui/react-datepicker-compat, which seems to not be the case. TODO - report bug ?

@sopranopillow
Copy link
Contributor Author

@Hotell created the issue: #27223

@sopranopillow sopranopillow merged commit a97f513 into microsoft:master Mar 16, 2023
@sopranopillow sopranopillow deleted the react-datepicker-compat/tests-datepicker branch March 16, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePicker: Cleanup and integrate tests from v8 to v9

6 participants