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

RUM-1006 Add SR functional tests for ImageButtons and ImageViews #1630

Conversation

mariusc83
Copy link
Member

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@mariusc83 mariusc83 self-assigned this Sep 20, 2023
@mariusc83 mariusc83 force-pushed the mconstantin/rum-1064/fix-the-base64-image-resolver-logic branch 3 times, most recently from 519310a to a9b96c3 Compare September 20, 2023 12:29
Base automatically changed from mconstantin/rum-1064/fix-the-base64-image-resolver-logic to develop September 20, 2023 13:01
@mariusc83 mariusc83 force-pushed the mconstantin/rum-1006/sr-add-functional-tests-for-images-and-icons branch from 829c86d to 77d736c Compare September 20, 2023 13:49
@mariusc83 mariusc83 force-pushed the mconstantin/rum-1006/sr-add-functional-tests-for-images-and-icons branch from 77d736c to 2e4f3b9 Compare September 20, 2023 13:51
@mariusc83 mariusc83 marked this pull request as ready for review September 20, 2023 13:52
@mariusc83 mariusc83 requested a review from a team as a code owner September 20, 2023 13:52
// in the process of being removed. This creates an issue with our SR recorder which
// calls the WindowInspector.getGlobalWindowViews() which can return the previous window +
// the current window and alters the tests.
Thread.sleep(2000)
Copy link
Member

Choose a reason for hiding this comment

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

Interesting thing is that ActivityTestRule we are using is deprecated and the proposed replacement is ActivityScenarioRule which have a better control over the lifecycle by providing moveToState blocking methods. Maybe we should consider the possibility of migrating to ActivityScenarioRule later.

@codecov-commenter
Copy link

Codecov Report

Merging #1630 (2e4f3b9) into develop (956f75e) will increase coverage by 0.05%.
Report is 8 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1630      +/-   ##
===========================================
+ Coverage    83.81%   83.86%   +0.05%     
===========================================
  Files          455      455              
  Lines        15686    15683       -3     
  Branches      2331     2330       -1     
===========================================
+ Hits         13147    13152       +5     
- Misses        1916     1918       +2     
+ Partials       623      613      -10     

see 15 files with indirect coverage changes

@mariusc83 mariusc83 merged commit 99c47fb into develop Sep 22, 2023
@mariusc83 mariusc83 deleted the mconstantin/rum-1006/sr-add-functional-tests-for-images-and-icons branch September 22, 2023 17:11
@xgouchet xgouchet added this to the 2.2.0 milestone Dec 13, 2023
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.

4 participants