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