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

QA-953: Adding testTag to elements in Add TOTP screen #4160

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

ifernandezdiaz
Copy link
Contributor

@ifernandezdiaz ifernandezdiaz commented Oct 25, 2024

🎟️ 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

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 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 confirmed
    issue 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

Copy link
Contributor

github-actions bot commented Oct 25, 2024

Logo
Checkmarx One – Scan Summary & Details76a914ad-5ca9-4e4a-8728-4a868d0b9738

No New Or Fixed Issues Found

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.95%. Comparing base (53d4c4c) to head (73b44c5).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4160   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files         439      439           
  Lines       38080    38086    +6     
  Branches     5336     5336           
=======================================
+ Hits        33874    33880    +6     
  Misses       2346     2346           
  Partials     1860     1860           

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

@@ -126,7 +127,8 @@ fun ManualCodeEntryScreen(
Text(
text = stringResource(id = R.string.enter_key_manually),
style = BitwardenTheme.typography.titleMedium,
modifier = Modifier.padding(horizontal = 16.dp),
modifier = Modifier.padding(horizontal = 16.dp)
.testTag("EnterKeyManuallyButton"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please run the formatter

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is still incorrect, it should be:

                modifier = Modifier
                    .padding(horizontal = 16.dp)
                    .testTag("EnterKeyManuallyButton"),

There is also a tutorial for setting up a macro for this in the readme.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad! I applied the formatter but I forgot to configure it with our current code style

SaintPatrck
SaintPatrck previously approved these changes Oct 25, 2024
@SaintPatrck SaintPatrck added this pull request to the merge queue Oct 25, 2024
Copy link
Collaborator

@david-livefront david-livefront left a comment

Choose a reason for hiding this comment

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

Please make sure you apply the formatter before merging

@SaintPatrck SaintPatrck removed this pull request from the merge queue due to a manual request Oct 25, 2024
@ifernandezdiaz ifernandezdiaz added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit c47f860 Oct 28, 2024
9 checks passed
@ifernandezdiaz ifernandezdiaz deleted the QA-953/add-testtags-on-add-totp-view branch October 28, 2024 14:55
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.

3 participants