Repository navigation
[QA-2428] Add testTag to the Make a copy button on the View Send screen - #7356
Conversation
The policy-restriction banner's "Make a copy" action had no stable identifier,
so test automation located it by its localized content-desc. Add a static
testTag ("SendMakeACopyButton"), surfaced as a resource-id via
testTagsAsResourceId, matching the sibling SendPolicyRestrictionBanner tag.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds a single static |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7356 +/- ##
==========================================
- Coverage 86.21% 85.27% -0.94%
==========================================
Files 901 947 +46
Lines 66274 68038 +1764
Branches 10172 10214 +42
==========================================
+ Hits 57135 58021 +886
- Misses 5561 6426 +865
- Partials 3578 3591 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/QA-2428
📔 Objective
The "Make a copy" action on the View Send policy-restriction banner had no stable identifier, so QA automation (QA-2416, Testmo 10268506) currently locates it by its localized English content-desc ("Make a copy") — fragile under a non-English locale or a wording change.
This adds a static
testTag = "SendMakeACopyButton"to the existingBitwardenButtonData, surfaced as an Appiumresource-idviatestTagsAsResourceId, matching the siblingSendPolicyRestrictionBannertag on the same card. No behavioral or visual change.📸 Screenshots
N/A — no UI change (adds a test identifier only).