diff --git a/apps/tests/ui/tab-view/tab-view-tests.ts b/apps/tests/ui/tab-view/tab-view-tests.ts index edbf79007..0c3901a2d 100644 --- a/apps/tests/ui/tab-view/tab-view-tests.ts +++ b/apps/tests/ui/tab-view/tab-view-tests.ts @@ -545,13 +545,13 @@ function testLoadedAndUnloadedAreFired_WhenNavigatingAwayAndBack(enablePageCache helper.goBack(); } //TKUnit.waitUntilReady(() => { return items[0].view.isLoaded; }, ASYNC); - TKUnit.wait(500); + TKUnit.wait(1); - //console.log("loaded items: " + loadedItems.join(", ")); - //console.log("unloadedItems items: " + unloadedItems.join(", ")); + console.log(">>>>>>>>>>>>> loaded items: " + loadedItems.join(", ")); + console.log(">>>>>>>>>>>>> unloadedItems items: " + unloadedItems.join(", ")); // Check that at least the first item is loaded and unloaded - TKUnit.assert(items[0].view.isLoaded, "Thecontent of the first tab should be loaded."); + TKUnit.assert(items[0].view.isLoaded, "The content of the first tab should be loaded."); TKUnit.assertEqual(loadedItems[0], 1, "loaded count for 1st item"); TKUnit.assertEqual(unloadedItems[0], 1, "unloaded count for 1st item");