My interface hides or shows buttons based on the users role, determined by "loggedInUser()". I would like to test the interface mocking different logged in users. Is there a way to achieve that?
Discussion posts and replies are publicly visible
Hello nancyb0004
You would simply have to have a list of usernames in a constant and keep testing it in place of the loggedInUser(). Also you can add/remove yourself in the groups and try it out.