File tree 2 files changed +6
-3
lines changed
MaterialDesignThemes.UITests/WPF
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -344,8 +344,10 @@ public async Task DialogHost_WithOpenDialog_ShowsPopupWhenLoaded()
344
344
345
345
await Wait . For ( async ( ) => Assert . True ( await closeButton . GetIsVisible ( ) ) ) ;
346
346
347
- await closeButton . LeftClick ( ) ;
348
-
349
- await Wait . For ( async ( ) => Assert . False ( await dialogHost . GetIsOpen ( ) ) ) ;
347
+ await Wait . For ( async ( ) =>
348
+ {
349
+ await closeButton . LeftClick ( ) ;
350
+ Assert . False ( await dialogHost . GetIsOpen ( ) ) ;
351
+ } ) ;
350
352
}
351
353
}
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ public async Task RevealPasswordBox_WithBoundPasswordProperty_RespectsThreeWayBi
105
105
string ? clearTextPassword1 = await clearTextPasswordTextBox . GetProperty < string > ( TextBox . TextProperty ) ;
106
106
107
107
// Act 2 (Update in RevealPasswordTextBox updates PasswordBox and VM)
108
+ await Task . Delay ( 50 ) ;
108
109
await revealPasswordButton . LeftClick ( ) ;
109
110
await Task . Delay ( 50 ) ; // Wait for the "clear text TextBox" to become visible
110
111
await clearTextPasswordTextBox . SendKeyboardInput ( $ "2") ;
You can’t perform that action at this time.
0 commit comments