You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This will reset the test for each run (as from original WinUI https://github.com/microsoft/microsoft-ui-xaml/blob/master/test/testinfra/MUXTestInfra/Infra/TestHelpers.cs)
81
82
// We construct it so it doesn't try to run any tests since we use the AppService Bridge to complete
@@ -84,10 +85,9 @@ public void TestInitialize()
84
85
85
86
varpageName=GetPageForTest(TestContext);
86
87
87
-
varrez=TestAssembly.OpenPage(pageName);
88
-
rez.Wait();
88
+
varrez=awaitTestAssembly.OpenPage(pageName);
89
89
90
-
if(!rez.Result)
90
+
if(!rez)
91
91
{
92
92
// Error case, we didn't get confirmation of test starting.
93
93
thrownewInvalidOperationException("Test host didn't confirm test ready to execute page: "+pageName);
@@ -96,7 +96,6 @@ public void TestInitialize()
96
96
Log.Comment("[Harness] Received Host Ready with Page: {0}",pageName);
97
97
Wait.ForIdle();
98
98
Log.Comment("[Harness] Starting Test for {0}...",pageName);
0 commit comments