public ReservationRepository(AppDbContext appDbContext, IMapper mapper, IOptions <TestingEnvironment> settings, IHttpContextAccessor httpContextAccessor, UserManager <UserExtended> userManager) : base(appDbContext, settings)
 {
     this.mapper              = mapper;
     this.settings            = settings.Value;
     this.httpContextAccessor = httpContextAccessor;
     this.userManager         = userManager;
 }
Beispiel #2
0
 public CaseCreationSteps(TestingEnvironment environment, FeatureContext featureContext)
 {
     this.environment      = environment;
     this.mainCasesPage    = new CaseMainPage(environment.Driver);
     this.caseCreationPage = new CaseCreationPage(environment.Driver);
     this.featureContext   = featureContext;
 }
Beispiel #3
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;
 }
Beispiel #4
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;
 }
Beispiel #5
0
 public ScheduleRepository(AppDbContext context, IMapper mapper, IOptions <TestingEnvironment> settings) : base(context, settings)
 {
     this.mapper   = mapper;
     this.settings = settings.Value;
 }
Beispiel #6
0
 public LoginSteps(TestingEnvironment environment)
 {
     this.environment   = environment;
     this.loginPage     = new LoginPage(environment.Driver, environment.Log);
     this.mainCasesPage = new CaseMainPage(environment.Driver);
 }
Beispiel #7
0
 public IssueCreationSteps(TestingEnvironment environment)
 {
     this.environment       = environment;
     this.mainTeachingPage  = new TeachingMainPage(environment.Driver);
     this.issueCreationPage = new IssueCreationPage(environment.Driver);
 }
 public EmbarkationRepository(AppDbContext appDbContext, IMapper mapper, IOptions <TestingEnvironment> settings) : base(appDbContext, settings)
 {
     this.mapper   = mapper;
     this.settings = settings.Value;
 }
Beispiel #9
0
 public Repository(AppDbContext context, IOptions <TestingEnvironment> testingSettings)
 {
     this.context         = context;
     this.testingSettings = testingSettings.Value;
 }