File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
MaterialDesignThemes.UITests/WPF Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,8 @@ await Wait.For(async () =>
164
164
Assert . Equal ( Colors . Red , await card1 . GetBackgroundColor ( ) ) ;
165
165
Assert . Equal ( Colors . Red , await card2 . GetBackgroundColor ( ) ) ;
166
166
} ) ;
167
+
168
+ recorder . Success ( ) ;
167
169
}
168
170
169
171
[ Theory ]
@@ -242,6 +244,8 @@ await Wait.For(async () =>
242
244
await textBlock2 . GetEffectiveBackground ( ) ,
243
245
MinimumContrastSmallText ) ;
244
246
} ) ;
247
+
248
+ recorder . Success ( ) ;
245
249
}
246
250
}
247
251
}
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ await Wait.For(async () =>
52
52
Assert . Equal ( 1 , invocations . Count ) ;
53
53
} ) ;
54
54
55
+ await Wait . For ( async ( ) =>
56
+ {
57
+ Assert . True ( await contentCover . GetIsHitTestVisible ( ) ) ;
58
+ Assert . True ( await contentCover . GetOpacity ( ) > 0.0 ) ;
59
+ } ) ;
60
+
55
61
await drawerHost . LeftClick ( ) ;
56
62
57
63
await Wait . For ( async ( ) => await contentCover . GetOpacity ( ) <= 0.0 ) ;
You can’t perform that action at this time.
0 commit comments