protected override async Task TestScenarioArrangement() { var queryString = string.Empty; if (InputQueryStringParameters.Any()) { queryString = string.Join('&', InputQueryStringParameters.Select(x => $"{x.Item1}={x.Item2}")); } var indexPage = (await App.ToIndexPage()).CurrentPageAs <IndexPage>(); var step0 = (await indexPage.SelectBlueFlow(queryString)).CurrentPageAs <BlueFlowStep0>(); await ResolveSut(step0); }
protected override async Task TestScenarioArrangement() { async Task AUserIsInTheAccountSelectionPage() { var queryString = string.Empty; if (InputQueryStringParameters.Any()) { queryString = string.Join('&', InputQueryStringParameters.Select(x => $"{x.Item1}={x.Item2}")); } var indexPage = (await App.ToIndexPage()).CurrentPageAs <IndexPage>(); var step0 = (await indexPage.SelectGreenFlow(queryString)).CurrentPageAs <GreenFlowStep0>(); step0.Input.Value = "aa"; Sut = (await step0.ClickOnElementByText("Next")).CurrentPageAs <GreenFlowStepC>(); } await AUserIsInTheAccountSelectionPage(); }