Skip to content

Commit

Permalink
fix: replace deprecated methods (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Jan 27, 2024
1 parent 597faae commit 2368f18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/Android/CurrentPackageTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ public void BeforeAll()
var serverUri = Env.ServerIsRemote() ? AppiumServers.RemoteServerUri : AppiumServers.LocalServiceUri;
_driver = new AndroidDriver(serverUri, capabilities, Env.InitTimeoutSec);
_driver.Manage().Timeouts().ImplicitWait = Env.ImplicitTimeoutSec;
_driver.CloseApp();
_driver.TerminateApp(DemoAppPackage);
}

[SetUp]
public void SetUp()
{
_driver?.LaunchApp();
_driver?.ActivateApp(DemoAppPackage);
}

[OneTimeTearDown]
public void TearDowwn()
{
_driver?.CloseApp();
_ = (_driver?.TerminateApp(DemoAppPackage));
_driver?.Quit();
}

Expand Down

0 comments on commit 2368f18

Please sign in to comment.