Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jochen-testingbot committed Mar 6, 2024
1 parent e8e453e commit ccc16d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions NUnit-TestingBot-Sample/ParallelTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Remote;
Expand Down Expand Up @@ -72,7 +71,7 @@ public void Init()
public void GoogleTest()
{
driver.Navigate().GoToUrl("http://www.google.com");
StringAssert.Contains("Google", driver.Title);
Assert.That(driver.Title, Is.EqualTo("Google"));
IWebElement query = driver.FindElement(By.Name("q"));
query.SendKeys("TestingBot");
query.Submit();
Expand Down
5 changes: 2 additions & 3 deletions NUnit-TestingBot-Sample/SampleTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Remote;
Expand Down Expand Up @@ -70,7 +69,7 @@ public void Init()
public void GoogleTest()
{
driver.Navigate().GoToUrl("http://www.google.com");
StringAssert.Contains("Google", driver.Title);
Assert.That(driver.Title, Is.EqualTo("Google"));
IWebElement query = driver.FindElement(By.Name("q"));
query.SendKeys("TestingBot");
query.Submit();
Expand Down

0 comments on commit ccc16d4

Please sign in to comment.