Skip to content

[DataGrid] Add AutoFit feature to size columns automatically as good … #2587

[DataGrid] Add AutoFit feature to size columns automatically as good …

[DataGrid] Add AutoFit feature to size columns automatically as good … #2587

GitHub Actions / Core Tests succeeded Aug 20, 2024 in 0s

873 passed, 1 failed and 14 skipped

Tests failed

❌ TestResults/runneradmin_fv-az731-375_2024-08-20_18_44_36.trx

888 tests were completed in 3s with 873 passed, 1 failed and 14 skipped.

Test suite Passed Failed Skipped Time
Microsoft.FluentUI.AspNetCore.Components.Tests._ToDo.Stack.FluentSlackTests 1✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Accordion.FluentAccordionItemTests 13✅ 35ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Accordion.FluentAccordionTests 9✅ 40ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Anchor.FluentAnchorTests 34✅ 662ms
Microsoft.FluentUI.AspNetCore.Components.Tests.AnchoredRegion.FluentAnchoredRegionTests 36✅ 111ms
Microsoft.FluentUI.AspNetCore.Components.Tests.AppBar.FluentAppBarItemTests 5✅ 29ms
Microsoft.FluentUI.AspNetCore.Components.Tests.AppBar.FluentAppBarTests 3✅ 76ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Badge.FluentBadgeTests 17✅ 49ms
Microsoft.FluentUI.AspNetCore.Components.Tests.BodyContent.FluentBodyContentTests 2✅ 6ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Breadcrumb.FluentBreadcrumbItemTests 29✅ 64ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Breadcrumb.FluentBreadcrumbTests 5✅ 12ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Button.FluentButtonTests 62✅ 181ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Card.FluentCardTests 13✅ 57ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Checkbox.FluentCheckboxTests 18✅ 65ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Checkbox.FluentCheckboxThreeStatesTests 9✅ 1❌ 78ms
Microsoft.FluentUI.AspNetCore.Components.Tests.CollapsibleRegion.FluentCollapsibleRegionTests 4✅ 10ms
Microsoft.FluentUI.AspNetCore.Components.Tests.CounterBadge.FluentCounterBadgeTests 28✅ 92ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DataGrid.DataGridSortByTests 4✅ 111ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DataGrid.FluentDataGridColumSelectTests 13✅ 234ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DataGrid.FluentDataGridTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DataGrid.GridSortTests 10✅ 24ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.CalendarExtendedTests 1✅ 0ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.FluentCalendarSelectionTests 7✅ 207ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.FluentCalendarTests 49✅ 772ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.FluentDatePickerTests 9✅ 56ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.FluentTimePickerTests 6✅ 7ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.RangeOfTests 7✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.ToDateTimeExtensionsTests 25✅ 6ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime.ToTimeAgoTests 31✅ 5ms
Microsoft.FluentUI.AspNetCore.Components.Tests.DesignSystemProvider.FluentDesignSystemProviderTests 1✅ 17ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Dialog.FluentDialogServiceTests 4✅ 95ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Dialog.FluentDialogTests 3✅ 26ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Divider.FluentDividerTests 6✅ 15ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Drag.FluentDragTests 1✅ 16ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Emojis.FluentEmojiTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Extensions.AdditionalAttributesExtensionsShould 24✅ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Flipper.FluentFlipperTests 2✅ 8ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Footer.FluentFooterTests 1✅ 4ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Forms.FluentValidationSummaryTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Grid.FluentGridTests 23✅ 561ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Header.FluentHeaderTests 3✅ 7ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Highlighter.FluentHighlighterTests 1✅ 4ms
Microsoft.FluentUI.AspNetCore.Components.Tests.HorizontalScroll.FluentHorizontalScrollTests 1✅ 16ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Icons.FluentIconTests 22✅ 56ms
Microsoft.FluentUI.AspNetCore.Components.Tests.InputFile.FluentInputFileTests 10✅ 79ms
Microsoft.FluentUI.AspNetCore.Components.Tests.KeyCodeProvider.FluentKeyCodeTests 13✅ 34ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Label.FluentInputLabelTests 5✅ 11ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Label.FluentLabelTests 1✅ 8ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Layout.FluentLayoutTests 4✅ 9ms
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentAutocompleteTests 22✅ 311ms
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentComboboxTests 3✅ 22ms
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentListboxTests 6✅ 41ms
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentPersonaTests 7✅ 559ms
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentSelectTests 13✅ 96ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Main.FluentMainTests 1✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.MainLayout.FluentMainLayoutTests 1✅ 10ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Menu.FluentMenuItemTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Menu.FluentMenuTests 1✅ 10ms
Microsoft.FluentUI.AspNetCore.Components.Tests.MenuButton.FluentMenuButtonTests 1✅ 7ms
Microsoft.FluentUI.AspNetCore.Components.Tests.MessageBar.FluentMessageBarTests 3✅ 20ms
Microsoft.FluentUI.AspNetCore.Components.Tests.MessageBar.MessageServiceTests 4✅ 105ms
Microsoft.FluentUI.AspNetCore.Components.Tests.NavMenu.FluentNavGroupTests 9✅ 57ms
Microsoft.FluentUI.AspNetCore.Components.Tests.NavMenu.FluentNavLinkTests 11✅ 50ms
Microsoft.FluentUI.AspNetCore.Components.Tests.NavMenu.FluentNavMenuTests 8✅ 29ms
Microsoft.FluentUI.AspNetCore.Components.Tests.NumberField.FluentNumberFieldTests 32✅ 149ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Overflow.FluentOverflowItemTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Overflow.FluentOverflowTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Overlay.FluentOverlayTests 1✅ 10ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Pagination.FluentPaginatorTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Popover.FluentPopoverTests 1✅ 4ms
Microsoft.FluentUI.AspNetCore.Components.Tests.PresenceBadge.FluentPresenceBadgeTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.ProfileMenu.FluentProfileMenuTests 4✅ 155ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Progress.FluentProgressRingTests 8✅ 22ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Progress.FluentProgressTests 7✅ 13ms
Microsoft.FluentUI.AspNetCore.Components.Tests.PullToRefresh.FluentPullToRefreshTests 20✅ 111ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Radio.FluentRadioGroupTests 1✅ 12ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Radio.FluentRadioTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Rating.FluentRatingTests 13✅ 104ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Search.FluentSearchTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Skeleton.FluentSkeletonTests 1✅ 6ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Slider.FluentSliderLabelTests 1✅ 8ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Slider.FluentSliderTests 7✅ 63ms
Microsoft.FluentUI.AspNetCore.Components.Tests.SortableList.FluentSortableListTests 3✅ 13ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Spacer.FluentSpacerTests 1✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Splitter.FluentMultiSplitterTests 9✅ 56ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Splitter.FluentSplitterTests 15✅ 56ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Stack.FluentStackTests 1✅ 8ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Switch.FluentSwitchTests 1✅ 4ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Tabs.FluentTabsTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Tabs.FluentTabTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.TextArea.FluentTextAreaTests 1✅ 7ms
Microsoft.FluentUI.AspNetCore.Components.Tests.TextField.FluentTextFieldTests 1✅ 12ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Toast.FluentToastProviderTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Toast.FluentToastTests 1⚪ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Toolbar.FluentToolbarTests 1✅ 32ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Tooltip.FluentTooltipTests 2✅ 9ms
Microsoft.FluentUI.AspNetCore.Components.Tests.TreeView.FluentTreeViewItemsTests 11✅ 121ms
Microsoft.FluentUI.AspNetCore.Components.Tests.TreeView.FluentTreeViewTests 3✅ 15ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities.CssBuilderTests 18✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities.DebouncerTests 3✅ 1s
Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities.InlineStyleBuilderTests 7✅ 1ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities.SplitterTests 3✅ 3ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities.StyleBuilderTests 11✅ 2ms
Microsoft.FluentUI.AspNetCore.Components.Tests.Wizard.FluentWizardTests 21✅ 294ms

❌ Microsoft.FluentUI.AspNetCore.Components.Tests.Checkbox.FluentCheckboxThreeStatesTests

✅ FluentCheckbox_Labels
✅ FluentCheckbox_ThreeStates_InverseOrder(initialState: False, assertState: null, assertValue: False)
✅ FluentCheckbox_ThreeStates_InverseOrder(initialState: null, assertState: True, assertValue: True)
✅ FluentCheckbox_ThreeStates_InverseOrder(initialState: True, assertState: False, assertValue: False)
✅ FluentCheckbox_ThreeStates_ShowIntermediateFalse
✅ FluentCheckbox_ThreeStates(initialState: False, assertState: True, assertValue: True)
✅ FluentCheckbox_ThreeStates(initialState: null, assertState: False, assertValue: False)
✅ FluentCheckbox_ThreeStates(initialState: True, assertState: null, assertValue: False)
❌ FluentCheckbox_ThreeStatesFalseAsync(initialValue: False, assertValue: True)
	Assert.Equal() Failure: Values differ
	Expected: True
	Actual:   False
✅ FluentCheckbox_ThreeStatesFalseAsync(initialValue: True, assertValue: False)

Annotations

Check failure on line 105 in tests/Core/Checkbox/FluentCheckboxThreeStatesTests.razor

See this annotation in the file changed.

@github-actions github-actions / Core Tests

Microsoft.FluentUI.AspNetCore.Components.Tests.Checkbox.FluentCheckboxThreeStatesTests ► FluentCheckbox_ThreeStatesFalseAsync(initialValue: False, assertValue: True)

Failed test found in:
  TestResults/runneradmin_fv-az731-375_2024-08-20_18_44_36.trx
Error:
  Assert.Equal() Failure: Values differ
  Expected: True
  Actual:   False
Raw output
Assert.Equal() Failure: Values differ
Expected: True
Actual:   False
   at Microsoft.FluentUI.AspNetCore.Components.Tests.Checkbox.FluentCheckboxThreeStatesTests.FluentCheckbox_ThreeStatesFalseAsync(Boolean initialValue, Boolean assertValue) in D:\a\fluentui-blazor\fluentui-blazor\tests\Core\Checkbox\FluentCheckboxThreeStatesTests.razor:line 105
--- End of stack trace from previous location ---