Ejemplo n.º 1
0
 public async Task GivenTheFormulaOneEndPointIsCalledWithUsingGetMethod(string season)
 {
     _appSettings    = _scenarioContext.Get <AppSettings>();
     _mRDataResponse = await _apiCLient.GetAsync <MRDataResponse>($"{_appSettings.TestHarness.URI}api/f1/" + season + "/drivers.json");
 }
Ejemplo n.º 2
0
 public async Task GivenTheFormulaOneEndPointIsCalledUsingGetMethodWithDriver_Json(string p0)
 {
     _appSettings    = _scenarioContext.Get <AppSettings>();
     _mRDataResponse = await _apiCLient.GetAsync <MRDataResponse>($"{_appSettings.TestHarness.URI}api/f1/" + p0);
 }