public InitAsync ( string username, string password ) : Task | ||
username | string | |
password | string | |
return | Task |
public MessagingFixture(ITestOutputHelper helper, string roomName) { RoomName = roomName; _logger = new XUnitLogger(helper); Master = new RocketChatDriverFixture(_logger); Slave = new RocketChatDriverFixture(_logger); Fixture = new RocketChatDriverFixture(_logger); Fixture.InitAsync(Constants.OneUsername, Constants.OnePassword).Wait(); RoomId = Fixture.Driver.CreateChannelAsync(roomName)?.Result?.Result?.RoomId; }
public MessagingFixture(ITestOutputHelper helper, string roomName) { RoomName = roomName; _logger = new XUnitLogger(helper); Master = new RocketChatDriverFixture(_logger); Slave = new RocketChatDriverFixture(_logger); Fixture = new RocketChatDriverFixture(_logger); Fixture.InitAsync(Constants.OneUsername, Constants.OnePassword).Wait(); RoomId = Fixture.Driver.CreateChannelAsync(roomName)?.Result?.Result?.RoomId; }