Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UITest] Add reset to test teardown if the app is not running anymore #16769

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

sbanni
Copy link
Contributor

@sbanni sbanni commented Aug 15, 2023

Description of Change

With this change we will check the status of the app after each test to verify it is still running and restart it if necessary and log a failure to the appropriate test.

Issues Fixed

  • If the test project crashes during test execution currently it will cause all the tests in that class that follow it to fail.

  • If the test executes a command that causes the test project to crash and doesn't try to interact with the test project anymore, e.g. query a property/element, the app crash will not be caught until the next test setup, if any, and have to hunt down which test caused the failure.

@sbanni sbanni added the area-testing Unit tests, device tests label Aug 15, 2023
@sbanni sbanni requested a review from a team as a code owner August 15, 2023 20:28
@PureWeen PureWeen merged commit 7f921c7 into main Aug 15, 2023
39 checks passed
@PureWeen PureWeen deleted the dev/scoban/restartaftercrash branch August 15, 2023 23:06
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing Unit tests, device tests fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants