AppDataMode.Clear does not always work. RRS feed

  • Question

  • User323122 posted

    I have a ui test project which runs on ios simulators. The app is started as follows:

    return ConfigureApp
        .WaitTimes(new WaitTimes())

    AppDataMode.Clear should ensure that each test begins in the login/initial screen. But sometimes the app seems to ignore this setting and starts at the last used screen. Hence the test fails. The only way to change the behaviour back to what it should be is to restart the simulator. Then everything works ok again (until it doesn't).

    I am using xamarin.uitest 2.2.7. I could deinstall and reinstall the app before each test but this is not what I want. It shouldnt be necessary.

    Can anyone explain this and suggest a solution.


    Wednesday, December 19, 2018 1:04 PM

All replies

  • User35201 posted

    This section of the forum is for Xamarin.Mac (macOS) programming. Let me move this to a section where you are more likely to get an answer.

    Wednesday, December 19, 2018 1:55 PM