Skip to content

Commit b6f13d6

Browse files
committed
Check app starts
1 parent dbc3141 commit b6f13d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ public void SmokeTestBuildAndRunWithSpecialCharacters ()
194194
proj.SetDefaultTargetDevice ();
195195
using (var builder = CreateApkBuilder (Path.Combine (rootPath, proj.ProjectName))){
196196
Assert.IsTrue (builder.Install (proj), "Install should have succeeded.");
197-
Assert.True (builder.RunTarget (proj, "_Run", doNotCleanupOnUpdate: true), "Project should have run.");
197+
Assert.IsTrue (builder.RunTarget (proj, "_Run", doNotCleanupOnUpdate: true), "Project should have run.");
198+
var timeoutInSeconds = 120;
199+
Assert.IsTrue (WaitForActivityToStart (proj.PackageName, "MainActivity",
200+
Path.Combine (Root, builder.ProjectDirectory, "startup-logcat.log"), timeoutInSeconds));
198201
}
199202
}
200203

0 commit comments

Comments
 (0)