File tree Expand file tree Collapse file tree
src/org/labkey/test/tests/filecontent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -353,8 +353,11 @@ public void testCalculateFileRootSize() throws Exception
353353 {
354354 String calculateFileRootSizeTask = "Calculate file root sizes" ;
355355 goToAdminConsole ().clickSystemMaintenance ().runMaintenanceTask (calculateFileRootSizeTask );
356+
356357 Integer initialFileRootSize = getFileRootSize ();
357358
359+ switchToMainWindow ();
360+
358361 goToProjectHome ();
359362 File testFile = TestFileUtils .getSampleData ("fileTypes/tsv_sample.tsv" );
360363
@@ -363,6 +366,9 @@ public void testCalculateFileRootSize() throws Exception
363366
364367 goToAdminConsole ().clickSystemMaintenance ().runMaintenanceTask (calculateFileRootSizeTask );
365368 Integer finalFileRootSize = getFileRootSize ();
369+
370+ switchToMainWindow ();
371+
366372 if (!checker ().wrapAssertion (() -> Assertions .assertThat (finalFileRootSize )
367373 .as ("Crawled file root size" ).isGreaterThan (initialFileRootSize )))
368374 {
You can’t perform that action at this time.
0 commit comments