File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
MaterialDesignThemes.UITests/WPF/PasswordBoxes Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,13 @@ public async Task RevealPasswordBox_WithBoundPasswordProperty_RespectsThreeWayBi
102102 string ? boundText1 = await userControl . GetProperty < string > ( nameof ( BoundPasswordBox . ViewModelPassword ) ) ;
103103 string ? password1 = await passwordBox . GetProperty < string > ( nameof ( PasswordBox . Password ) ) ;
104104 string ? clearTextPassword1 = await clearTextPasswordTextBox . GetProperty < string > ( TextBox . TextProperty ) ;
105+ await recorder . SaveScreenshot ( ) ;
105106
106107 // Act 2 (Update in RevealPasswordTextBox updates PasswordBox and VM)
107108 await revealPasswordButton . LeftClick ( ) ;
109+ await recorder . SaveScreenshot ( ) ;
108110 await Task . Delay ( 50 ) ; // Wait for the "clear text TextBox" to become visible
111+ await recorder . SaveScreenshot ( ) ;
109112 await clearTextPasswordTextBox . SendKeyboardInput ( $ "2") ;
110113 string ? boundText2 = await userControl . GetProperty < string > ( nameof ( BoundPasswordBox . ViewModelPassword ) ) ;
111114 string ? password2 = await passwordBox . GetProperty < string > ( nameof ( PasswordBox . Password ) ) ;
You can’t perform that action at this time.
0 commit comments