Trying to run TestLogin(1st test) inside TestAddToCart(2nd test) then find an element afterwards, but unable to. I was able to find the element in the first test, but it doesn't seem to work in 2nd test. Not sure if it is allowed or there needs to be some kind of wait time.
[Test] public void TestLogin() { //Test login automation IWebDriver driver = new ChromeDriver(); driver.Navigate().GoToUrl("https://www.saucedemo.com/inventory.html");