Ejemplo n.º 1
0
        public void WhenIncognito_Close()
        {
            _driver.FindElement(marketTab).Click();

            var timeBefore = DateTime.Now;

            BasicClass.WaitElement(_driver, menuTypes);

            var timeAfter = DateTime.Now;
            var loadTime  = timeAfter - timeBefore;

            Assert.IsTrue(loadTime.Seconds < 2, "Loading is too long");
        }