File tree Expand file tree Collapse file tree
src/org/labkey/test/tests/list Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -861,6 +861,11 @@ public void testCustomViews()
861861
862862 customizeURLTest ();
863863 crossContainerLookupTest ();
864+
865+ // Prevent crawler errors after the list is deleted
866+ // A Query WebPart for a missing query contains links that will 404
867+ goToProjectHome ();
868+ new PortalHelper (this ).removeAllWebParts ();
864869 }
865870
866871 /* Issue 23487: add regression coverage for batch insert into list with multiple errors
@@ -1128,8 +1133,10 @@ private void filterTest()
11281133 clickProject (PROJECT_VERIFY );
11291134
11301135 PortalHelper portalHelper = new PortalHelper (this );
1131- portalHelper .addQueryWebPart (null , "lists" , LIST_NAME_COLORS , null );
1132- portalHelper .addQueryWebPart (null , "lists" , LIST_NAME_COLORS , null );
1136+ portalHelper .doInAdminMode (ph -> {
1137+ portalHelper .addQueryWebPart (null , "lists" , LIST_NAME_COLORS , null );
1138+ portalHelper .addQueryWebPart (null , "lists" , LIST_NAME_COLORS , null );
1139+ });
11331140
11341141 log ("Test that the right filters are present for each type" );
11351142 DataRegionTable region = new DataRegionTable ("qwp3" , getDriver ());
You can’t perform that action at this time.
0 commit comments