Class PermissionHelper
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.helpers.PermissionHelper
-
public class PermissionHelper extends Object
Helper for checking permissions in WebDriver tests.
-
-
Constructor Summary
Constructors Constructor Description PermissionHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertAccessDenied(@NotNull String pageLocation)
void
assertPageAccessible(@NotNull String pageLocation)
void
assertPageNotFound(@NotNull String pageLocation)
void
assertPageRequiresLoggedIn(String pageLocation)
-
-
-
Method Detail
-
assertPageAccessible
public void assertPageAccessible(@NotNull @NotNull String pageLocation) throws IOException
- Throws:
IOException
-
assertPageNotFound
public void assertPageNotFound(@NotNull @NotNull String pageLocation) throws IOException
- Throws:
IOException
-
assertAccessDenied
public void assertAccessDenied(@NotNull @NotNull String pageLocation) throws IOException
- Throws:
IOException
-
assertPageRequiresLoggedIn
public void assertPageRequiresLoggedIn(String pageLocation) throws IOException
- Throws:
IOException
-
-