コード例 #1
0
        public async Task Then_should_be_connected_to_second_lobby()
        {
            await BrowserFactory.JoinLobby(_presenter2.Url, _player.Page);

            await Task.Delay(250);

            var text = await _player.Page.GetTextContentByTestId("client-text");

            text.ShouldBe("presenter2");
        }
コード例 #2
0
 public BroadcastTests(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #3
0
 public Given_a_lobby_When_players_join(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
 public Given_a_Presenter_When_page_loaded(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #5
0
 public Given_a_Player_When_refreshed(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #6
0
 public RetrospectiveTests(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #7
0
 public FistOfFiveTests(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #8
0
 public PongTests(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #9
0
 public JoinCodeTest(BrowserFactory browsers)
 {
     _browsers = browsers;
 }
コード例 #10
0
 public Given_two_lobbys_When_a_player_switches(BrowserFactory browsers)
 {
     _browsers = browsers;
 }