File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
LDK/test/src/org/labkey/test/tests/external/labModules Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 7575import static org .junit .Assert .assertNotNull ;
7676import static org .junit .Assert .assertNull ;
7777import static org .junit .Assert .assertTrue ;
78+ import static org .labkey .test .util .PermissionsHelper .READER_ROLE ;
7879
7980/**
8081 * Contains a series of tests designed to test the UI in the laboratory module.
@@ -634,7 +635,7 @@ private void overviewUITest()
634635 goToProjectHome ();
635636
636637 //verify import not visible to reader
637- impersonateRole ("Reader" );
638+ impersonateRole (READER_ROLE );
638639 _helper .goToLabHome ();
639640
640641 waitForElement (LabModuleHelper .getNavPanelRow ("Sequence:" ), WAIT_FOR_PAGE );
@@ -1216,7 +1217,7 @@ private void labToolsWebpartTest()
12161217 //verify settings hidden for readers
12171218 Locator settings = _helper .toolIcon ("Settings" );
12181219 assertElementPresent (settings );
1219- impersonateRole ("Reader" );
1220+ impersonateRole (READER_ROLE );
12201221 _helper .goToLabHome ();
12211222 assertElementNotPresent (settings );
12221223 stopImpersonatingRole ();
You can’t perform that action at this time.
0 commit comments