public void ThenButtonSavePDFUnactive() { SearchByTablePage searchByTablePage = new SearchByTablePage(); Assert.IsTrue(searchByTablePage.PDFSaveButtonIsDisabled(), "PDFSaveButton is enabled"); //ScenarioContext.Current.Pending(); }
public void ThenButtonSavePDFActive() { SearchByTablePage searchByTablePage = new SearchByTablePage(); Tools.WaitElementByClassName(searchByTablePage.OrderItemClassName); Assert.IsFalse(searchByTablePage.PDFSaveButtonIsDisabled(), "PDFSaveButton is disabled"); //ScenarioContext.Current.Pending(); }