Esempio n. 1
0
        public async Task Screenshot_Discussion()
        {
            this.EnsureSessionInStage(SessionStage.NotStarted);

            // Given
            using (IServiceScope scope = this.App.CreateTestServiceScope()) {
                await scope.SetSession(this.SessionId, r => r.HashedPassphrase = null);
            }

            this.Join(this.Client1, true, "Roger", colorName: "Driver", submitCallback: () => CreateDocScreenshot(this.Client1.WebDriver, "join-poker-session"));
            this.Join(this.Client2, false, "Hong", colorName: "green");

            this.WaitNavigatedToLobby();

            this.Client1.SetUserStoryTitle("9345: As a user I want to be able to log in through SSO");
            CreateDocScreenshot(this.Client1.WebDriver, "prepare-discussion");

            // Then
            this.Client1.InvokeContinueWorkflow();

            CreateDocScreenshot(this.Client1.WebDriver, "discussion");

            this.Client1.InvokeContinueWorkflow();
        }
 private Task SetRetrospective(string sessionId, Action <Session> action)
 {
     using IServiceScope scope = this.App.CreateTestServiceScope();
     return(scope.SetSession(sessionId, action));
 }
 protected Task SetRetrospective(Action <Session> action)
 {
     using IServiceScope scope = this.App.CreateTestServiceScope();
     return(scope.SetSession(this.SessionId, action));
 }