Skip to content

Commit 1ef83da

Browse files
:|
1 parent 1e6ef03 commit 1ef83da

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

TransactionProcessor.Mobile.UITests/Steps/SharedAppSteps.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ public async Task WhenIClickOnTheBackButton() {
3030

3131
[Then(@"The application closes")]
3232
public void ThenTheApplicationCloses() {
33-
AppState state = AppiumDriverWrapper.Driver.GetAppState("com.transactionprocessor.mobile");
34-
state.ShouldBe(AppState.NotRunning);
33+
if (AppiumDriverWrapper.MobileTestPlatform != MobileTestPlatform.iOS) {
34+
AppState state = AppiumDriverWrapper.Driver.GetAppState("com.transactionprocessor.mobile");
35+
state.ShouldBe(AppState.NotRunning);
36+
}
3537
}
3638

3739
[When(@"I click yes")]

0 commit comments

Comments
 (0)