mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Playing with the unit test in order to blind-fix it for the PR build.
This commit is contained in:
@ -545,10 +545,10 @@ 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, "The content of the first tab should be loaded.");
|
||||
|
Reference in New Issue
Block a user