Esempio n. 1
0
        public void CanCreateUser()
        {
            UserManagementPage.GoTo();
            CreateUserPage.GoTo();
            var username = "******" + System.Guid.NewGuid().ToString();

            CreateUserPage.CreateUser(username)
            .WithFirstName("firstName")
            .WithLastName("LastName")
            .WithEmail("*****@*****.**")
            .WithPassword("password")
            .WithRole("guest")
            .Save();

            Assert.IsTrue(UserManagementPage.HasUser(username), "User was not found");
        }