Update unittest helper method navigation checks

This commit is contained in:
hshristov
2015-04-08 10:54:16 +03:00
parent 44e22495da
commit 5cce9e206b

View File

@@ -194,7 +194,6 @@ export function navigateToModule(moduleName: string) {
frame.topmost().navigate({ moduleName: moduleName, animated: false });
TKUnit.waitUntilReady(() => { return frame.topmost().currentPage !== currentPage; });
TKUnit.assert(frame.topmost().currentPage.isLoaded, "Current page should be loaded!");
TKUnit.assert(!currentPage.isLoaded, "Previous page should be unloaded!");
}
export function goBack(): void {