title: Disable/accept test storage service in Espresso
body: <p>As can be seen in AndroidX Test 1.3.0 alpha04 <a href="https://github.com/android/android-test/releases/tag/androidx-test-1.3.0-alpha04" rel="nofollow noreferrer">release notes</a>:</p>
  
  <blockquote>
    <p>Include the test storage service in the test services</p>
  </blockquote>
  
  <p>Unfortunately, this makes standard <code>connectedDebugAndroidTest</code> to fail because this screen is getting displayed:</p>
  
  <p><img src="https://i.stack.imgur.com/4TvlX.png" width="300" /></p>
  
  <p><sub><em>Choose what to allow TestServices to access</em></sub></p>
  
  <p>And this requires my interaction in order to proceed with UI testing.</p>
  
  <p>This makes me to hang with already quite old <code>1.3.0-alpha03</code> artifacts, although <code>1.3.0-beta01</code> is already available.</p>
  
  <p><strong>Question:</strong></p>
  
  <p>How to accepts this permission via gradle command or within <code>testOptions</code> configuration? Somehow I can find neither any indication in docs nor a post in web with similar issue.</p>
  
  <hr>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Yuki Hamada, an engineer from Espresso team, <a href="https://twitter.com/yuuki3655/status/1253097389474246656?s=20" rel="nofollow noreferrer">confirmed</a> that this is an issue and that they are working on that.</p>