Пример #1
0
 public InsertionOrderStep(IWebDriver driver, FeatureContext featureContext) : base(driver, featureContext)
 {
     _manageMultipleInsertionOrderPage = new ManageMultipleInsertionOrderPage(driver, featureContext);
     _viewInsertionOrderPage           = new ViewInsertionOrderPage(driver, featureContext);
     _acceptInsertionOrderFrame        = new AcceptInsertionOrderFrame(driver, featureContext);
     _rejectInsertionOrderFrame        = new RejectInsertionOrderFrame(driver, featureContext);
 }
Пример #2
0
        public InsertionOrderStep(IWebDriver driver, FeatureContext featureContext) : base(driver, featureContext)
        {
            _manageMultipleInsertionOrderPage  = new ManageMultipleInsertionOrderPage(driver, featureContext);
            _addEditInsertionOrderPage         = new AddEditInsertionOrderPage(driver, featureContext);
            _viewInsertionOrderPage            = new ViewInsertionOrderPage(driver, featureContext);
            _issueInsertionOrderFrame          = new IssueInsertionOrderFrame(driver, featureContext);
            _acceptInsertionOrderFrame         = new AcceptInsertionOrderFrame(driver, featureContext);
            _manageInsertionOrderPage          = new ManageInsertionOrderPage(driver, featureContext);
            _exportInsertionOrderFrame         = new ExportInsertionOrderFrame(driver, featureContext);
            _sendForApprovalFrame              = new SendForApprovalFrame(driver, featureContext);
            _rejectInsertionOrderApprovalFrame = new RejectInsertionOrderApprovalFrame(driver, featureContext);
            _rejectInsertionOrderFrame         = new RejectInsertionOrderFrame(driver, featureContext);
            _addNonMediaCostItemsFrame         = new AddNonMediaCostItemsFrame(driver, featureContext);
            _addCostItemsFrame             = new AddCostItemsFrame(driver, featureContext);
            _gridInsertionOrderLandingPage = new GridInsertionOrderLandingPage(driver, featureContext);

            FeatureContext.Set(false, ContextStrings.HasIoApproverRejected);
        }