CarbonFitnessTest.Integration.AccountLogOnTest.shouldShowLoggedOnUserAfterLogon C# (CSharp) Method

shouldShowLoggedOnUserAfterLogon() private method

private shouldShowLoggedOnUserAfterLogon ( ) : void
return void
        public void shouldShowLoggedOnUserAfterLogon()
        {
            var createUserTest = new CreateUserTest(Browser);
            createUserTest.getUniqueUserId();

            LogOn(CreateUserTest.UserName, CreateUserTest.Password);

            var usernameExsistsOnPage = Browser.Text.Contains(CreateUserTest.UserName);

            Assert.That(usernameExsistsOnPage);
        }