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; }
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; }