Skip to content
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

chore(e2e): Run as a binary from @fluentui/scripts #18016

Merged
merged 4 commits into from
May 4, 2021

Conversation

ling1726
Copy link
Member

@ling1726 ling1726 commented May 3, 2021

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ yarn change

Description of changes

Since cypress does not support config extensions cypressio/cypress#5674 this integration was done previously with a node script.

Moving this to be a binary as a part of @fluentui/scripts to remove the need for custom scripts in projects.

⚠⚠ Windows users might have to delete node_modules and reinstall to generate cmd bin scripts

Since cypress does not support config extensions cypressio/cypress#5674
this integration was done previously with a node script.

Moving this to be a binary as a part of `@fluentui/scripts` to remove
the need for custom scripts in projects
@size-auditor
Copy link

size-auditor bot commented May 3, 2021

Asset size changes

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

Baseline commit: 3c6d389f150c4d403f135a3cf3fb231c0303bccc (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 3, 2021

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 aa308cd:

Sandbox Source
Fluent UI Button Configuration
codesandbox-react-template Configuration
codesandbox-react-northstar-template Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented May 3, 2021

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 902 909 5000
BaseButton mount 914 933 5000
Breadcrumb mount 2666 2719 1000
ButtonNext mount 556 545 5000
Checkbox mount 1545 1569 5000
CheckboxBase mount 1296 1284 5000
ChoiceGroup mount 4766 4754 5000
ComboBox mount 1017 981 1000
CommandBar mount 10226 10335 1000
ContextualMenu mount 6232 6300 1000
DefaultButton mount 1138 1137 5000
DetailsRow mount 3690 3677 5000
DetailsRowFast mount 3792 3740 5000
DetailsRowNoStyles mount 3532 3575 5000
Dialog mount 1455 1462 1000
DocumentCardTitle mount 128 141 1000
Dropdown mount 3498 3203 5000
FocusTrapZone mount 1828 1807 5000
FocusZone mount 1800 1816 5000
IconButton mount 1720 1749 5000
Label mount 341 340 5000
Layer mount 1747 1788 5000
Link mount 468 482 5000
MakeStyles mount 1841 1816 50000
MenuButton mount 1426 1454 5000
MessageBar mount 2047 2035 5000
Nav mount 3231 3268 1000
OverflowSet mount 1046 1050 5000
Panel mount 1345 1352 1000
Persona mount 832 823 1000
Pivot mount 1417 1407 1000
PrimaryButton mount 1289 1291 5000
Rating mount 7600 7658 5000
SearchBox mount 1277 1328 5000
Shimmer mount 2555 2555 5000
Slider mount 1949 1925 5000
SpinButton mount 4975 5035 5000
Spinner mount 438 413 5000
SplitButton mount 3188 3140 5000
Stack mount 501 511 5000
StackWithIntrinsicChildren mount 1496 1531 5000
StackWithTextChildren mount 4478 4530 5000
SwatchColorPicker mount 10204 10249 5000
Tabs mount 1398 1416 1000
TagPicker mount 2387 2432 5000
TeachingBubble mount 11949 11829 5000
Text mount 424 417 5000
TextField mount 1416 1405 5000
ThemeProvider mount 1194 1205 5000
ThemeProvider virtual-rerender 613 621 5000
ThemeProviderNext mount 9253 9268 5000
Toggle mount 817 824 5000
buttonNative mount 118 114 5000

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
TreeWith60ListItems.default 192 174 1.1:1
BoxMinimalPerf.default 372 345 1.08:1
LayoutMinimalPerf.default 387 358 1.08:1
SkeletonMinimalPerf.default 391 361 1.08:1
ChatDuplicateMessagesPerf.default 293 274 1.07:1
MenuMinimalPerf.default 895 839 1.07:1
AnimationMinimalPerf.default 433 408 1.06:1
DividerMinimalPerf.default 379 364 1.04:1
AlertMinimalPerf.default 271 263 1.03:1
CarouselMinimalPerf.default 477 465 1.03:1
HeaderSlotsPerf.default 768 747 1.03:1
SliderMinimalPerf.default 1561 1513 1.03:1
TooltipMinimalPerf.default 982 958 1.03:1
ChatMinimalPerf.default 623 613 1.02:1
CheckboxMinimalPerf.default 2759 2707 1.02:1
EmbedMinimalPerf.default 4180 4105 1.02:1
FlexMinimalPerf.default 298 291 1.02:1
ListCommonPerf.default 624 611 1.02:1
ListMinimalPerf.default 503 492 1.02:1
LoaderMinimalPerf.default 716 705 1.02:1
MenuButtonMinimalPerf.default 1588 1558 1.02:1
RefMinimalPerf.default 241 237 1.02:1
TableManyItemsPerf.default 1919 1886 1.02:1
TreeMinimalPerf.default 798 784 1.02:1
ButtonUseCssNestingPerf.default 1058 1049 1.01:1
DropdownMinimalPerf.default 3118 3084 1.01:1
FormMinimalPerf.default 411 406 1.01:1
ImageMinimalPerf.default 374 369 1.01:1
ItemLayoutMinimalPerf.default 1256 1238 1.01:1
StatusMinimalPerf.default 675 671 1.01:1
IconMinimalPerf.default 620 615 1.01:1
TableMinimalPerf.default 416 410 1.01:1
CustomToolbarPrototype.default 3805 3781 1.01:1
AccordionMinimalPerf.default 153 153 1:1
AttachmentSlotsPerf.default 1145 1147 1:1
ButtonOverridesMissPerf.default 1656 1649 1:1
CardMinimalPerf.default 540 538 1:1
ListWith60ListItems.default 631 628 1:1
ProviderMergeThemesPerf.default 1665 1670 1:1
TextMinimalPerf.default 359 358 1:1
ButtonMinimalPerf.default 164 166 0.99:1
DialogMinimalPerf.default 741 746 0.99:1
DropdownManyItemsPerf.default 680 684 0.99:1
HeaderMinimalPerf.default 352 356 0.99:1
RosterPerf.default 1180 1191 0.99:1
PopupMinimalPerf.default 708 718 0.99:1
ReactionMinimalPerf.default 375 378 0.99:1
SplitButtonMinimalPerf.default 3684 3734 0.99:1
ButtonSlotsPerf.default 557 566 0.98:1
ButtonUseCssPerf.default 788 801 0.98:1
DatepickerMinimalPerf.default 5396 5491 0.98:1
InputMinimalPerf.default 1265 1291 0.98:1
LabelMinimalPerf.default 380 389 0.98:1
ProviderMinimalPerf.default 957 977 0.98:1
RadioGroupMinimalPerf.default 425 432 0.98:1
ToolbarMinimalPerf.default 945 964 0.98:1
AvatarMinimalPerf.default 198 205 0.97:1
GridMinimalPerf.default 337 348 0.97:1
PortalMinimalPerf.default 161 166 0.97:1
SegmentMinimalPerf.default 335 350 0.96:1
TextAreaMinimalPerf.default 483 502 0.96:1
AttachmentMinimalPerf.default 152 160 0.95:1
ChatWithPopoverPerf.default 342 360 0.95:1
ListNestedPerf.default 541 572 0.95:1
VideoMinimalPerf.default 614 644 0.95:1

@ling1726 ling1726 merged commit 92aff96 into microsoft:master May 4, 2021
miroslavstastny pushed a commit to miroslavstastny/fluentui that referenced this pull request May 5, 2021
* chore(e2e): Run as a binary from @fluentui/scripts

Since cypress does not support config extensions cypressio/cypress#5674
this integration was done previously with a node script.

Moving this to be a binary as a part of `@fluentui/scripts` to remove
the need for custom scripts in projects

* Change files

* add package.json script to reduce magic

* order scripts
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.

4 participants