-
Notifications
You must be signed in to change notification settings - Fork 842
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
QA-952: Adding test tags for Toggle items #4153
QA-952: Adding test tags for Toggle items #4153
Conversation
No New Or Fixed Issues Found |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4153 +/- ##
=======================================
Coverage 88.92% 88.92%
=======================================
Files 437 437
Lines 37938 37938
Branches 5324 5324
=======================================
Hits 33735 33735
Misses 2347 2347
Partials 1856 1856 ☔ View full report in Codecov by Sentry. |
@@ -100,7 +102,8 @@ fun BitwardenWideSwitch( | |||
|
|||
Switch( | |||
modifier = Modifier | |||
.height(56.dp), | |||
.height(56.dp) | |||
.testTag("SwitchToggle"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems way to generic, most of the places we use the switch already have the test tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to add this generic ID at the component level due to a refactor we made on the automation side.
Now, each Switch
element will contain its name label and toggle element, making most of our validations easier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, what about the description?
🎟️ Tracking
📔 Objective
This work is a subtask of QA-947, a story created to group all the native app views that contain elements without Automation IDs.
NOTE: Not all the elements will require an AutomationID. We are adding the ones we currently need so we can reduce the flakiness on some critical Mobile e2e tests
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes