public void ThenReceivedPackageDetailsScreen() { PackageEditorScreenPageObject packageEditorScreenPageObject = new PackageEditorScreenPageObject(driver); Assert.IsTrue(packageEditorScreenPageObject.IsPackageScreenOpened()); driver.Close(); }
public AddAgreementPopupPageObject SetEndDate() { Actions actions = new Actions(_webDriver); PackageEditorScreenPageObject packageEditorScreenPageObject = new PackageEditorScreenPageObject(_webDriver); _webDriver.FindElement(_endDate).Click(); actions.SendKeys(Keys.Home + packageEditorScreenPageObject.GetEndDateOfParentPackage()).Perform(); return(new AddAgreementPopupPageObject(_webDriver)); }