public void ReservationInvoice() { //test = extent.StartTest("ReservationInvoice"); //test.Log(LogStatus.Pass, "Pass"); WaitForElementID("buttonBasketCreateInvoice"); basketpage.InputBasketAddPosition("4610947337"); _browser.WaitForAngular(); basketpage.ReservationInvoice(); WaitForElementID("openHeaderInvoice"); var reservation = _driver.FindElement(By.Id("buttonBasketReadyInvoice")); Assert.IsTrue(reservation.Displayed); }