Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: make MenuAccessControl availalble in mocking environment #1847

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

mcollovati
Copy link
Contributor

Fixes #1844

@mcollovati mcollovati requested a review from tepi January 13, 2025 14:53
@mcollovati
Copy link
Contributor Author

Tested on internal CI against 24.5, 24.6 and 24.7

Comment on lines 96 to 97
// Workaround to support both Vaadin 24.4 that does not have
// SpringMenuAccessControl
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe something is missing in this comment, did it mean to mention another vaadin version as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, the comment is incomplete.
SpringMenuAccessControl has been introduced in Vaadin 24.5, but Testbench main is currently 24.4+

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated comment

@mcollovati mcollovati enabled auto-merge (squash) January 14, 2025 09:08
@mcollovati mcollovati merged commit 864ad2f into main Jan 14, 2025
2 checks passed
@mcollovati mcollovati deleted the issues/1844-menu_access_control branch January 14, 2025 09:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Unit test navigation fails if frontend routes are present
2 participants