예제 #1
0
 public CasesOverviewSteps(TestingEnvironment environment, ScenarioContext scenarioContext, FeatureContext featureContext)
 {
     this.environment       = environment;
     this.mainCasesPage     = new CaseMainPage(environment.Driver);
     this.casesDetailsPage  = new CaseDetailsPage(environment.Driver);
     this.caseCreationSteps = new CaseCreationSteps(environment, featureContext);
     this.scenarioContext   = scenarioContext;
     this.featureContext    = featureContext;
 }
예제 #2
0
 public CaseDetailsSteps(TestingEnvironment environment, FeatureContext featureContext)
 {
     this.environment           = environment;
     this.caseInvestigationPage = new CaseInvestigationPage(environment.Driver);
     this.caseDetailsPage       = new CaseDetailsPage(environment.Driver);
     this.caseMainPage          = new CaseMainPage(environment.Driver);
     this.caseCreationSteps     = new CaseCreationSteps(environment, featureContext);
     this.featureContext        = featureContext;
 }