unoplatform/uno

Adjust screenshot tests

Open

#2,556 opened on 2020幎1月29日

GitHub で芋る
 (6 comments) (2 reactions) (0 assignees)C# (837 forks)batch import
area/commandbararea/tests 🧪difficulty/starter 🚀good first issueno-reproproject/core-tools 🛠

Repository metrics

Stars
 (9,789 stars)
PR merge metrics
 (平均マヌゞ 14d 8h) (30d で 130 merged PRs)

説明

Some static UI tests have a dynamic aspect, which may cause them to appear in screenshots comparison. Those tests should either be excluded using [SampleControlInfo(..., ignoreInSnapshotTests: true)] or have their dynamic behavior removed or made manual.

List of Tests to exclude or adjust for the screenshot comparison:

  • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
  • ToggleSwitch_TemplateReuseTest_UITests_Shared_Windows_UI_Xaml_Controls_ToggleSwitchControl_ToggleSwitch_TemplateReuse
  • CommandBar_LongTitle_Validation_CommandBar_-LongTitle-4-_Orientation_Landscape
  • Animations_Sequential_Animations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
  • ComboBox_UITests_Shared_Windows_UI_Xaml_Controls_ComboBox_ComboBox_DropDownPlacement_UITests_Shared_Windows_UI_Xaml_Controls_ComboBox_ComboBox_DropDownPlacement
  • Automation_AutomationProperties_Name_UITests_Shared_Windows_UI_Xaml_Automation_AutomationProperties_Name
  • TextBox_Uno_UI_Samples_Content_UITests_TextBoxControl_PasswordBox_Reveal_Scroll_Uno_UI_Samples_Content_UITests_TextBoxControl_PasswordBox_Reveal_Scroll
  • DatePickerFlyout_Unloaded_UITests_Shared_Windows_UI_Xaml_Controls_DatePicker_DatePicker_SampleContent
  • Keyboard_Textbox_InsideScrollViewer_Validation_0_-_Remove_Focus_on_normalTextBox
  • Keyboard_Textbox_InsideScrollViewer_Validation_2_-_Remove_Focus_on_placeholderTextTextBox
  • Keyboard_Textbox_NoScrollViewer_Validation_1_-_Remove_Focus_on_filledTextBox
  • Keyboard_Textbox_InsideScrollViewer_Validation_5_-_Remove_Focus_on_numberTextBox
  • Default_Uno_UI_Samples_UITests_Image_Image_Stretch_Uno_UI_Samples_UITests_Image_Image_Stretch
  • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl
  • Image_Image_Stretch_Full_Taller_Uno_UI_Samples_UITests_Image_Image_Stretch_Full_Taller
  • MediaPlayerElement_Using__3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension
  • SamplesApp.Windows_UI_Xaml_Media.Animation.SequentialAnimationsPage
  • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_Weird_Measure
  • Draw_polygon_PolygonPage_-_ChangeShape
  • LoadEmptyContentControl_ContentControlNoTemplateNoContent_-_bntContentClear
  • When_TransformToVisual_ScrollViewer_UITests_Shared_Windows_UI_Xaml_UIElementTests_TransformToVisual_ScrollViewer

コントリビュヌタヌガむド