Skip to content

Commit 35bf7e7

Browse files
mdtauk0x5bfa
authored andcommitted
Update ThemedIconPage.xaml
This should fix the test checks
1 parent f16613e commit 35bf7e7

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

tests/Files.App.UITests/Views/ThemedIconPage.xaml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640
Spacing="16">
641641
<ToggleButton
642642
Padding="8"
643-
AutomationProperties.Name="TestToggle1"
643+
AutomationProperties.Name="TestToggleButton1"
644644
IsChecked="{x:Bind TestToggleSwitch.IsOn, Mode=OneWay}">
645645
<controls:ThemedIcon
646646
IconType="Layered"
@@ -649,7 +649,7 @@
649649
</ToggleButton>
650650
<ToggleButton
651651
Padding="8"
652-
AutomationProperties.Name="TestToggle2"
652+
AutomationProperties.Name="TestToggleButton2"
653653
IsChecked="{x:Bind TestToggleSwitch.IsOn, Mode=OneWay}">
654654
<controls:ThemedIcon
655655
IsFilled="True"
@@ -658,7 +658,7 @@
658658
</ToggleButton>
659659
<ToggleButton
660660
Padding="8"
661-
AutomationProperties.Name="TestToggle3"
661+
AutomationProperties.Name="TestToggleButton3"
662662
IsChecked="{x:Bind TestToggleSwitch.IsOn, Mode=OneWay}">
663663
<controls:ThemedIcon
664664
IconType="Outline"
@@ -686,6 +686,7 @@
686686
Spacing="16">
687687
<AppBarButton
688688
HighContrastAdjustment="None"
689+
AutomationProperties.Name="TestAppBarToggle0-1"
689690
Label="Layered"
690691
LabelPosition="Default">
691692
<AppBarButton.Content>
@@ -695,6 +696,7 @@
695696

696697
<AppBarToggleButton
697698
HighContrastAdjustment="None"
699+
AutomationProperties.Name="TestAppBarToggle0-2"
698700
IsChecked="True"
699701
Label="Layered Toggle"
700702
LabelPosition="Default">
@@ -705,6 +707,7 @@
705707

706708
<AppBarButton
707709
x:Name="OffAppBarButtonDisable"
710+
AutomationProperties.Name="TestAppBarToggle0-3"
708711
HighContrastAdjustment="None"
709712
IsEnabled="{x:Bind EnabledToggle.IsOn, Mode=TwoWay}"
710713
Label="Disabled"
@@ -716,6 +719,7 @@
716719

717720
<AppBarToggleButton
718721
HighContrastAdjustment="None"
722+
AutomationProperties.Name="TestAppBarToggle0-4"
719723
IsChecked="True"
720724
IsEnabled="{x:Bind EnabledToggle.IsOn, Mode=TwoWay}"
721725
Label="Layered Toggled Disabled"
@@ -733,6 +737,7 @@
733737
Spacing="16">
734738
<AppBarButton
735739
HighContrastAdjustment="None"
740+
AutomationProperties.Name="TestAppBarToggle1-1"
736741
Label="Outline"
737742
LabelPosition="Default">
738743
<AppBarButton.Content>
@@ -742,6 +747,7 @@
742747

743748
<AppBarToggleButton
744749
HighContrastAdjustment="None"
750+
AutomationProperties.Name="TestAppBarToggle1-2"
745751
IsChecked="True"
746752
Label="Outline Toggle"
747753
LabelPosition="Default">
@@ -751,8 +757,8 @@
751757
</AppBarToggleButton>
752758

753759
<AppBarButton
754-
x:Name="OffAppBarButtonDisable2"
755760
HighContrastAdjustment="None"
761+
AutomationProperties.Name="TestAppBarToggle1-3"
756762
IsEnabled="{x:Bind EnabledToggle.IsOn, Mode=TwoWay}"
757763
Label="Outline Disabled"
758764
LabelPosition="Default">
@@ -763,6 +769,7 @@
763769

764770
<AppBarToggleButton
765771
HighContrastAdjustment="None"
772+
AutomationProperties.Name="TestAppBarToggle1-4"
766773
IsChecked="True"
767774
IsEnabled="{x:Bind EnabledToggle.IsOn, Mode=TwoWay}"
768775
Label="Outline Toggled Disabled"
@@ -856,7 +863,7 @@
856863
Spacing="16">
857864
<ToggleButton
858865
Padding="8"
859-
AutomationProperties.Name="TestToggle1Off"
866+
AutomationProperties.Name="TestToggle1-Off"
860867
IsChecked="{x:Bind OffTestToggleSwitch.IsOn, Mode=OneWay}">
861868
<controls:ThemedIcon
862869
IconType="Layered"
@@ -865,7 +872,7 @@
865872
</ToggleButton>
866873
<ToggleButton
867874
Padding="8"
868-
AutomationProperties.Name="TestToggle2Off"
875+
AutomationProperties.Name="TestToggle2-Off"
869876
IsChecked="{x:Bind OffTestToggleSwitch.IsOn, Mode=OneWay}">
870877
<controls:ThemedIcon
871878
IsFilled="True"
@@ -874,7 +881,7 @@
874881
</ToggleButton>
875882
<ToggleButton
876883
Padding="8"
877-
AutomationProperties.Name="TestToggle3Off"
884+
AutomationProperties.Name="TestToggle3-Off"
878885
IsChecked="{x:Bind OffTestToggleSwitch.IsOn, Mode=OneWay}">
879886
<controls:ThemedIcon
880887
IconType="Outline"
@@ -883,7 +890,7 @@
883890
</ToggleButton>
884891
<ToggleButton
885892
Padding="8"
886-
AutomationProperties.Name="TestToggle4Off"
893+
AutomationProperties.Name="TestToggle4-Off"
887894
IsChecked="{x:Bind OffTestToggleSwitch.IsOn, Mode=OneWay}"
888895
IsEnabled="False">
889896
<controls:ThemedIcon
@@ -902,6 +909,7 @@
902909
Spacing="16">
903910
<AppBarButton
904911
HighContrastAdjustment="None"
912+
AutomationProperties.Name="TestAppBarToggle2-1"
905913
Label="Layered"
906914
LabelPosition="Default">
907915
<AppBarButton.Content>
@@ -914,6 +922,7 @@
914922

915923
<AppBarToggleButton
916924
HighContrastAdjustment="None"
925+
AutomationProperties.Name="TestAppBarToggle2-2"
917926
IsChecked="True"
918927
Label="Layered Toggle"
919928
LabelPosition="Default">
@@ -926,8 +935,8 @@
926935
</AppBarToggleButton>
927936

928937
<AppBarButton
929-
x:Name="AppBarButtonDisable"
930938
HighContrastAdjustment="None"
939+
AutomationProperties.Name="TestAppBarToggle2-3"
931940
IsEnabled="{x:Bind OffEnabledToggle.IsOn, Mode=TwoWay}"
932941
Label="Disabled"
933942
LabelPosition="Default">
@@ -941,6 +950,7 @@
941950

942951
<AppBarToggleButton
943952
HighContrastAdjustment="None"
953+
AutomationProperties.Name="TestAppBarToggle2-4"
944954
IsChecked="True"
945955
IsEnabled="{x:Bind OffEnabledToggle.IsOn, Mode=TwoWay}"
946956
Label="Layered Toggled Disabled"
@@ -961,6 +971,7 @@
961971
Spacing="16">
962972
<AppBarButton
963973
HighContrastAdjustment="None"
974+
AutomationProperties.Name="TestAppBarToggle3-1"
964975
Label="Outline"
965976
LabelPosition="Default">
966977
<AppBarButton.Content>
@@ -973,6 +984,7 @@
973984

974985
<AppBarToggleButton
975986
HighContrastAdjustment="None"
987+
AutomationProperties.Name="TestAppBarToggle3-2"
976988
IsChecked="True"
977989
Label="Outline Toggle"
978990
LabelPosition="Default">
@@ -985,8 +997,8 @@
985997
</AppBarToggleButton>
986998

987999
<AppBarButton
988-
x:Name="AppBarButtonDisable2"
9891000
HighContrastAdjustment="None"
1001+
AutomationProperties.Name="TestAppBarToggle3-3"
9901002
IsEnabled="{x:Bind OffEnabledToggle.IsOn, Mode=TwoWay}"
9911003
Label="Outline Disabled"
9921004
LabelPosition="Default">
@@ -1000,6 +1012,7 @@
10001012

10011013
<AppBarToggleButton
10021014
HighContrastAdjustment="None"
1015+
AutomationProperties.Name="TestAppBarToggle3-4"
10031016
IsChecked="True"
10041017
IsEnabled="{x:Bind OffEnabledToggle.IsOn, Mode=TwoWay}"
10051018
Label="Outline Toggled Disabled"

0 commit comments

Comments
 (0)