public void Test() { var logining = new Logining(); logining.DoLogining(InputTestData.Login, InputTestData.Password); var addNewUser = new AddindNewUser(); addNewUser.AddNewUser(InputTestData.NewUserName, InputTestData.NewUserEmail, InputTestData.NewUserPassword, InputTestData.NewUserPhone); logining.DoLogining(InputTestData.NewUserEmail, InputTestData.NewUserPassword); Assert.AreEqual(MenuBar.GetMenuBar().GetUserName(), InputTestData.NewUserName); var logout2 = new Logout(); logout2.LogoutFromPage(); var loginingAdm = new Logining(); loginingAdm.DoLogining(InputTestData.Login, InputTestData.Password); var deleteUser = new DeleteUser(); deleteUser.DeleteNewUser(); }