android / android/android-test

Android Test orchestrator does not stop when force stopping the test run.

Open
#683 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
342
Avg merge
11h 29m
Merged PRs (30d)
2

Description

### Description
I am running UI tests with Android Test Orchestrator When I force stop the test run on AndroidStudio, the tests on the simulator continue to run.
### Steps to Reproduce
Run UI test (multiple test) using Android Test Orchestrator on a simulator.
While test are running one after the other, hit stop button on Android studio to abort the test run.

### Expected Results
Hitting stop button shall abort the test run on simulator as well.

### Actual Results
Test on simulator keeps on running.

### AndroidX Test and Android OS Versions
Android version 9.
androidx.test:runner:1.2.0
androidx.test:orchestrator:1.2.0
### Link to a public git repo demonstrating the problem:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with AndroidX Test runner and orchestrator 1.2.0 on Android 9, using multiple UI tests in a simulator. Investigate how Android Studio's stop action reaches the Android Test Orchestrator during a run. Done means stopping the run also stops the tests on the simulator.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.