Skip to content

Commit f9efc83

Browse files
committed
Better run code
1 parent 21fb10d commit f9efc83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/MSBuildDeviceIntegration/Tests/BundleToolNoAbiSplitTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ public void OneTimeTearDown ()
147147
public void InstallAndRun ()
148148
{
149149
Assert.IsTrue (appBuilder.Install (app), "Install should have succeeded.");
150-
AdbStartActivity ($"{app.PackageName}/{app.JavaPackageName}.MainActivity");
150+
RunProjectAndAssert (app, appBuilder);
151+
Assert.True (
152+
WaitForActivityToStart (app.PackageName, "MainActivity", Path.Combine (Root, appBuilder.ProjectDirectory, "logcat.log"), 30),
153+
"Activity should have started."
154+
);
151155
}
152156
}
153157
}

0 commit comments

Comments
 (0)