Skip to content

OBPIH-6909 Unify roles on menu items in navbar#5049

Merged
awalkowiak merged 2 commits intodevelopfrom
OBPIH-6909
Feb 17, 2025
Merged

OBPIH-6909 Unify roles on menu items in navbar#5049
awalkowiak merged 2 commits intodevelopfrom
OBPIH-6909

Conversation

@awalkowiak
Copy link
Collaborator

✨ Description of Change

A concise summary of what is being changed. Please provide enough context for reviewers to be able to understand the change and why it is necessary. If the issue/ticket already provides enough information, you can put "See ticket" as the description.

Link to GitHub issue or Jira ticket:
https://pihemr.atlassian.net/browse/OBPIH-6909

Description:
Unifying (adding missing) roles on menu items in navbar. Needed by E2E tests.

@github-actions github-actions bot added the domain: frontend Changes or discussions relating to the frontend UI label Feb 14, 2025
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 7.84%. Comparing base (b290f9c) to head (408883e).
Report is 218 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##             develop   #5049      +/-   ##
============================================
+ Coverage       7.75%   7.84%   +0.08%     
- Complexity       860     876      +16     
============================================
  Files            613     625      +12     
  Lines          42623   42813     +190     
  Branches       10350   10376      +26     
============================================
+ Hits            3306    3358      +52     
- Misses         38823   38952     +129     
- Partials         494     503       +9     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

</g:if>
<g:each in="${subsection?.menuItems}" var="item">
<a href="${item?.href}" class="dropdown-item">
<a href="${item?.href}" class="dropdown-item" role="menuitem">
Copy link
Member

@ewaterman ewaterman Feb 14, 2025

Choose a reason for hiding this comment

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

I thought these roles were only used for accessibility/screen readers. Are the tests looking specifically for the role?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, E2E tests rely on the role selectors as well. Half of our menu already had this role, I am adding it to the missing parts so the tests can be unified.

@awalkowiak awalkowiak merged commit db0b3bc into develop Feb 17, 2025
9 checks passed
@awalkowiak awalkowiak deleted the OBPIH-6909 branch February 17, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants