private static ConferenceStatus GetStatus(ConferenceState state) { if (!Enum.TryParse(state.ToString(), true, out ConferenceStatus status)) { status = ConferenceStatus.NotStarted; } return(status); }
private void VerifyHearingDetails() { _browser.TextOf(EventsPage.HearingIdText).Should().Be(_c.Test.Conference.HearingId.ToString()); _browser.TextOf(EventsPage.ConferenceIdText).Should().Be(_c.Test.Conference.Id.ToString()); _browser.TextOf(EventsPage.ConferenceStatus).Should().Be(_conferenceState.ToString()); }