public void SignOffTheIOsSuccessfullyAsPublisher() { _manageMultipleInsertionOrderPage.ClickIoStatusLink(); _viewInsertionOrderPage.ClickSignOffButton(); _acceptInsertionOrderFrame.SignOffIo(); Assert.AreEqual("The IO has been successfully signed off", _viewInsertionOrderPage.GetMsgText()); }
public void CreateInsertionOrder() { if (IsFeatureToggleEnabled(FeatureToggle.InsertionOrderGridLandingPage) && IsAgencyFeatureEnabled(AgencySetupData.SymphonyAdminData.Agencies.First().Features.InsertionOrders, gridIoLandingPage)) { _gridInsertionOrderLandingPage.CreateInsertionOrder(WorkflowTestData.InsertionOrderData); } else { _manageMultipleInsertionOrderPage.ChoosePublisherAndClickCreateButton(WorkflowTestData.InsertionOrderData); } _addEditInsertionOrderPage.SaveIO(); Assert.AreEqual("The IO has been successfully saved", _viewInsertionOrderPage.GetMsgText(), $"Something went wrong when saving the IO for {WorkflowTestData.InsertionOrderData.IOName}."); }