Skip to content

Commit

Permalink
Better run code
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed May 28, 2024
1 parent 4d209e3 commit f1f4018
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ public void OneTimeTearDown ()
public void InstallAndRun ()
{
Assert.IsTrue (appBuilder.Install (app), "Install should have succeeded.");
AdbStartActivity ($"{app.PackageName}/{app.JavaPackageName}.MainActivity");
RunProjectAndAssert (app, appBuilder);
Assert.True (
WaitForActivityToStart (app.PackageName, "MainActivity", Path.Combine (Root, appBuilder.ProjectDirectory, "logcat.log"), 30),
"Activity should have started."
);
}
}
}

0 comments on commit f1f4018

Please sign in to comment.