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

Add functional test for validating consumer application ON_STOP #90

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

wzieba
Copy link
Collaborator

@wzieba wzieba commented Nov 7, 2023

Description

This PR adds a functional test for the scenario described above the test case

Demo

Visually, it'll look like this:

Tue.Nov.7.19.29.04.CET.2023.mp4

…stop

I had to use UI Automator as I couldn't find any other way to make the test app go to ON_STOP state.
@wzieba wzieba marked this pull request as ready for review November 7, 2023 18:44
@wzieba wzieba requested a review from ParaskP7 November 7, 2023 18:44
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b9c449d) 51.63% compared to head (7ba512f) 51.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #90   +/-   ##
=======================================
  Coverage   51.63%   51.63%           
=======================================
  Files          10       10           
  Lines         368      368           
  Branches       55       55           
=======================================
  Hits          190      190           
  Misses        165      165           
  Partials       13       13           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@ParaskP7 ParaskP7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 @wzieba !

I have reviewed and tested this PR as per the instructions, everything works as expected, a nicely added functional test! 🌟 🧪 🌟

I had to use UI Automator as I couldn't find any other way to make the test app go to ON_STOP state.

👍 💯 🎯

@wzieba wzieba merged commit fd545a6 into main Nov 8, 2023
4 checks passed
@wzieba wzieba deleted the functional_test_for_going_to_background branch November 8, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants