Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.labkey.test.util.PermissionsHelper.READER_ROLE;

/**
* Contains a series of tests designed to test the UI in the laboratory module.
Expand Down Expand Up @@ -634,7 +635,7 @@ private void overviewUITest()
goToProjectHome();

//verify import not visible to reader
impersonateRole("Reader");
impersonateRole(READER_ROLE);
_helper.goToLabHome();

waitForElement(LabModuleHelper.getNavPanelRow("Sequence:"), WAIT_FOR_PAGE);
Expand Down Expand Up @@ -1216,7 +1217,7 @@ private void labToolsWebpartTest()
//verify settings hidden for readers
Locator settings = _helper.toolIcon("Settings");
assertElementPresent(settings);
impersonateRole("Reader");
impersonateRole(READER_ROLE);
_helper.goToLabHome();
assertElementNotPresent(settings);
stopImpersonatingRole();
Expand Down