Skip to content

Commit d2dabe1

Browse files
committed
fixed chrome password leak message + tidied up incorrect test data
1 parent c291037 commit d2dabe1

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Tests/AccountSummaryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void CheckSectionTableData()
6969
var expectedValues = new (int board, int column, string expectedText)[]
7070
{
7171
(1, 1, "Savings"),
72-
(1, 3, "$1000.9")
72+
(1, 3, "$1000")
7373
};
7474

7575
foreach (var (board, column, expectedText) in expectedValues)

Tests/BaseTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class BaseTest
2323
[SetUp]
2424
public virtual void Setup()
2525
{
26-
_driver = WebDriverFactory.CreateDriver(browser: "chrome", headless: true);
26+
_driver = WebDriverFactory.CreateDriver(browser: "chrome", headless: false);
2727
InitPages();
2828
_basePage.VisitSite();
2929
}

Utils/WebDriverFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public static IWebDriver CreateDriver(string browser = "chrome", bool headless =
3131
);
3232
}
3333

34+
chromeOptions.AddUserProfilePreference("profile.password_manager_leak_detection", false);
35+
3436
driver = new ChromeDriver(chromeOptions);
3537
break;
3638

0 commit comments

Comments
 (0)