diff --git a/MaterialDesignThemes.UITests/WPF/PasswordBoxes/PasswordBoxTests.cs b/MaterialDesignThemes.UITests/WPF/PasswordBoxes/PasswordBoxTests.cs index 990438b5647..3e0b9bc6411 100644 --- a/MaterialDesignThemes.UITests/WPF/PasswordBoxes/PasswordBoxTests.cs +++ b/MaterialDesignThemes.UITests/WPF/PasswordBoxes/PasswordBoxTests.cs @@ -102,10 +102,13 @@ public async Task RevealPasswordBox_WithBoundPasswordProperty_RespectsThreeWayBi string? boundText1 = await userControl.GetProperty(nameof(BoundPasswordBox.ViewModelPassword)); string? password1 = await passwordBox.GetProperty(nameof(PasswordBox.Password)); string? clearTextPassword1 = await clearTextPasswordTextBox.GetProperty(TextBox.TextProperty); + await recorder.SaveScreenshot(); // Act 2 (Update in RevealPasswordTextBox updates PasswordBox and VM) await revealPasswordButton.LeftClick(); + await recorder.SaveScreenshot(); await Task.Delay(50); // Wait for the "clear text TextBox" to become visible + await recorder.SaveScreenshot(); await clearTextPasswordTextBox.SendKeyboardInput($"2"); string? boundText2 = await userControl.GetProperty(nameof(BoundPasswordBox.ViewModelPassword)); string? password2 = await passwordBox.GetProperty(nameof(PasswordBox.Password));