Skip to content

Comments

Add functional test for validating consumer application ON_STOP#90

Merged
wzieba merged 2 commits intomainfrom
functional_test_for_going_to_background
Nov 8, 2023
Merged

Add functional test for validating consumer application ON_STOP#90
wzieba merged 2 commits intomainfrom
functional_test_for_going_to_background

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
@codecov
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
@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.

2 participants