File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/org/labkey/test/tests/core/admin Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,15 @@ public void testShortUrlPermissions()
186186 log ("As app admin, update shortUrl created by another user" );
187187 adminPage .submitShortUrl (shortUrl_a , targetUrl2 );
188188
189- // Issue #52485 "App admins can create and edit shorturls but can't view them"
190- assertElementPresent ( BootstrapLocators . errorBanner . withText ( "Table or query not found: ShortURL" ) );
189+ // Issue #52485 "App admins can create and edit shorturls but can't view them" (but now they can!)
190+ verifyShortUrlsInGrid ( shortUrl_a , targetUrl2 , shortUrl_b );
191191 });
192192
193+ verifyShortUrlsInGrid (shortUrl_a , targetUrl2 , shortUrl_b );
194+ }
195+
196+ private void verifyShortUrlsInGrid (String shortUrl_a , String targetUrl2 , String shortUrl_b )
197+ {
193198 Assertions .assertThat (ShortUrlAdminPage .beginAt (this ).getUrlsFromGrid ())
194199 .as ("short URLs" )
195200 .containsAllEntriesOf (Map .of (
You can’t perform that action at this time.
0 commit comments