test(BRIDGE-232): Add Home Menu Bridge UI e2e automation tests

This commit is contained in:
Gordana Zafirova
2024-10-21 12:48:03 +00:00
parent 7021b1c2ea
commit 9cdc40ca05
6 changed files with 512 additions and 3 deletions

View File

@ -22,7 +22,7 @@ namespace ProtonMailBridge.UI.Tests.Results
private TextBox EnterEmailOrUsernameErrorText => Window.FindFirstDescendant(cf => cf.ByControlType(ControlType.Text).And(cf.ByName("Enter email or username"))).AsTextBox();
private TextBox EnterPasswordErrorText => Window.FindFirstDescendant(cf => cf.ByControlType(ControlType.Text).And(cf.ByName("Enter password"))).AsTextBox();
private TextBox ConnectedStateText => Window.FindFirstDescendant(cf => cf.ByControlType(ControlType.Text).And(cf.ByName("Connected"))).AsTextBox();
public HomeResult CheckConnectedState()
{
Assert.That(ConnectedStateText.IsAvailable, Is.True);