microsoft / microsoft/AdaptiveCards

[Android][Testing] Enable support for testing 'Intents'

Open
#6,414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Renderers Task
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Target Platforms

Android

SDK Version

latest

Application Name

UITestApp

Problem Description

Spawning from #6317

The link clicking behaviour of markdown links cannot be tested as of this time, the Espresso-intents library may be useful to support this kind of scenarios where the app being tested tries to open a different application but the implementation didn't turn out to be as simple as expected, thus opening this as a different task

https://developer.android.com/training/testing/espresso/intents#:~:text=Espresso-Intents%20is%20an%20extension%20to%20Espresso%2C%20which%20enables,test.%20It%E2%80%99s%20like%20Mockito%2C%20but%20for%20Android%20Intents.

Screenshots

No response

Card JSON
-
Sample Code Language

No response

Sample Code

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the UITestApp Android tests and the linked #6317 context, then review the Espresso-Intents documentation referenced in this issue. Determine how markdown-link clicks that open another application are currently tested and whether Espresso-Intents can cover that scenario. Done means the relevant intent behavior is supported by a reliable test.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.