From 2c2e019563c6b5b1ae79dd1215fc16787b5d89fe Mon Sep 17 00:00:00 2001 From: David Date: Wed, 2 Jun 2021 22:18:01 -0400 Subject: [PATCH] test(calendar): Ignore Calendar in all screenshot tests --- .../CalendarView/CalendarDatePicker_Features.xaml.cs | 2 +- .../CalendarView/CalendarView_Basics.xaml.cs | 2 +- .../CalendarView/CalendarView_Features.xaml.cs | 2 +- .../CalendarView/CalendarView_ScrollingRegion.xaml.cs | 2 +- .../CalendarView/CalendarView_SmallRange.xaml.cs | 2 +- .../DatePicker/DatePickerFlyout_Automated.xaml.cs | 2 +- .../DatePicker/DatePickerFlyout_Date_Binding.xaml.cs | 2 +- .../DatePicker/DatePickerFlyout_MinYear.xaml.cs | 2 +- .../DatePicker/DatePickerFlyout_Unloaded.xaml.cs | 2 +- .../DatePicker/DatePickerSample.xaml.cs | 2 +- .../DatePicker/DatePicker_DatePartVisibility.xaml.cs | 2 +- .../DatePicker/DatePicker_Features.xaml.cs | 2 +- .../DatePicker/DatePicker_Header.xaml.cs | 2 +- .../DatePicker/DatePicker_Placement.xaml.cs | 2 +- .../DatePicker/DatePicker_SampleContent.xaml.cs | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarDatePicker_Features.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarDatePicker_Features.xaml.cs index 57e2c1eb9c3b..c99fb061d7d0 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarDatePicker_Features.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarDatePicker_Features.xaml.cs @@ -3,7 +3,7 @@ namespace UITests.Windows_UI_Xaml_Controls.CalendarView { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class CalendarDatePicker_Features : Page { public CalendarDatePicker_Features() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Basics.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Basics.xaml.cs index 7d5e3f010ef7..5119905b7075 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Basics.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Basics.xaml.cs @@ -5,7 +5,7 @@ namespace UITests.Windows_UI_Xaml_Controls.CalendarViewTests { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class CalendarView_Basics : Page { public CalendarView_Basics() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Features.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Features.xaml.cs index 59ac6455ad30..8006cbddffc2 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Features.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_Features.xaml.cs @@ -5,7 +5,7 @@ namespace UITests.Windows_UI_Xaml_Controls.CalendarView { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class CalendarView_Features : Page { public CalendarView_Features() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_ScrollingRegion.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_ScrollingRegion.xaml.cs index 70f3f21a2fb5..783d6fbb6d9c 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_ScrollingRegion.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_ScrollingRegion.xaml.cs @@ -3,7 +3,7 @@ namespace UITests.Windows_UI_Xaml_Controls.CalendarView { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class CalendarView_ScrollingRegion : Page { public CalendarView_ScrollingRegion() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_SmallRange.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_SmallRange.xaml.cs index 984a38ddfc42..4b04f1c24a4d 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_SmallRange.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CalendarView/CalendarView_SmallRange.xaml.cs @@ -4,7 +4,7 @@ namespace UITests.Windows_UI_Xaml_Controls.CalendarView { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class CalendarView_SmallRange : Page { public CalendarView_SmallRange() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Automated.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Automated.xaml.cs index caf217319a40..5453772c3c84 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Automated.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Automated.xaml.cs @@ -4,7 +4,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePickerFlyout_Automated : UserControl { public DatePickerFlyout_Automated() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Date_Binding.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Date_Binding.xaml.cs index 90f1debf3121..1e418c2121ef 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Date_Binding.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Date_Binding.xaml.cs @@ -5,7 +5,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePickerFlyout_Date_Binding : UserControl { public DatePickerFlyout_Date_Binding() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_MinYear.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_MinYear.xaml.cs index 0ef8c8488025..0d2697afa64c 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_MinYear.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_MinYear.xaml.cs @@ -4,7 +4,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel))] + [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel), IgnoreInSnapshotTests = true)] public sealed partial class DatePickerFlyout_MinYear : UserControl { public DatePickerFlyout_MinYear() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Unloaded.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Unloaded.xaml.cs index 64296324e1b5..ecc19428b9a6 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Unloaded.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerFlyout_Unloaded.xaml.cs @@ -7,7 +7,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePickerFlyout_Unloaded : UserControl { public DatePickerFlyout_Unloaded() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerSample.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerSample.xaml.cs index 680501b850f0..387f41bfc161 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerSample.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePickerSample.xaml.cs @@ -4,7 +4,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel))] + [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel), IgnoreInSnapshotTests = true)] public sealed partial class DatePickerSample : UserControl { public DatePickerSample() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_DatePartVisibility.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_DatePartVisibility.xaml.cs index a5f634c1a204..078457b5e187 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_DatePartVisibility.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_DatePartVisibility.xaml.cs @@ -3,7 +3,7 @@ namespace UITests.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_DatePartVisibility : Page { public DatePicker_DatePartVisibility() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Features.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Features.xaml.cs index dda6f93630e9..5c71146ebf11 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Features.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Features.xaml.cs @@ -7,7 +7,7 @@ namespace UITests.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_Features : Page { public static readonly DependencyProperty PickedDateProperty = diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Header.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Header.xaml.cs index 178010696aea..64d2b1b647b4 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Header.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Header.xaml.cs @@ -3,7 +3,7 @@ namespace UITests.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_Header : Page { public DatePicker_Header() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Placement.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Placement.xaml.cs index 2ca8a689a983..81f1d4dc74a4 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Placement.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Placement.xaml.cs @@ -3,7 +3,7 @@ namespace UITests.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking")] + [Sample("Date Picking", IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_Placement : Page { public DatePicker_Placement() diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_SampleContent.xaml.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_SampleContent.xaml.cs index bc9e5666f0f7..741e4c277751 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_SampleContent.xaml.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_SampleContent.xaml.cs @@ -5,7 +5,7 @@ namespace UITests.Shared.Windows_UI_Xaml_Controls.DatePicker { - [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel))] + [Sample("Date Picking", ViewModelType = typeof(DatePickerViewModel), IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_SampleContent : UserControl { public DatePicker_SampleContent()