Open skha83 opened 4 months ago
By looking at the code and behavior of this library, it seems like it is designed to run every test using the same app instance and navigate between different test pages. Is it possible to achieve, that it restarts the app between every test? Atm. if I close the app after each test it will make an assert in the teardown method here https://github.com/jfversluis/Plugin.Maui.UITestHelpers/blob/ea60394df3d78fb4388a4c03188bc4b7b2884e51/src/Plugin.Maui.UITestHelpers.NUnit/UITestBase.cs#L56-L69 because it expect the app has unexpectedly crashed and then it tries to restart the app and fails the given test because of the assert.
I'm pretty new to using Appium UI tests as I'm only starting to migrate our existing UI tests from Xamarin.UITest so I might have missed something
By looking at the code and behavior of this library, it seems like it is designed to run every test using the same app instance and navigate between different test pages. Is it possible to achieve, that it restarts the app between every test? Atm. if I close the app after each test it will make an assert in the teardown method here https://github.com/jfversluis/Plugin.Maui.UITestHelpers/blob/ea60394df3d78fb4388a4c03188bc4b7b2884e51/src/Plugin.Maui.UITestHelpers.NUnit/UITestBase.cs#L56-L69 because it expect the app has unexpectedly crashed and then it tries to restart the app and fails the given test because of the assert.
I'm pretty new to using Appium UI tests as I'm only starting to migrate our existing UI tests from Xamarin.UITest so I might have missed something