Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-zheng-codes committed Dec 20, 2023
1 parent a7d3b80 commit ecaaa14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NUnitTestingDriver/UnitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public void TestLogIn()
{
driver.ClickElement("//a[contains(text(),'Form Authentication')]");

Console.WriteLine("Current url " + driver.CurrentURL);

Assert.That("http://the-internet.herokuapp.com/login".Equals(driver.CurrentURL), "URL is incorrect");

driver.PopulateElement("//input[@id='username']", "tomsmith");
Expand Down

0 comments on commit ecaaa14

Please sign in to comment.