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

Add a test case for sub menu selected item #6592

Closed

Conversation

JorickPepin
Copy link
Contributor

Hi, this adds a test covering the bug described in #6588.

I tried to do some digging but couldn't find a solution. Couldn't we use route names rather than URIs to determine matches by adding the name of the route to the MenuItemDto $routeName property, like it is done for $linkUrl ?

I made the test pass so as not to block the CI, but as described in the comment, the active tab in the test should be Bills.

@javiereguiluz
Copy link
Collaborator

Thanks @JorickPepin. I'm closing this in favor of #6633, which adds a similar test and makes some code changes to fix the highlighting issues.

@JorickPepin JorickPepin deleted the chore/sub-menu-test-case branch December 8, 2024 15:19
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.

2 participants