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

Provide methods to access custom built menu model #13

Open
krichter722 opened this issue Jul 31, 2018 · 0 comments
Open

Provide methods to access custom built menu model #13

krichter722 opened this issue Jul 31, 2018 · 0 comments

Comments

@krichter722
Copy link

When menu models are built in the backing bean rather than declaring them in XHTML, one can't assign an id (DefaultMenuItem.id is used internally only and doesn't refer to the id attribute) or clientId. Therefore it's hard to click them through Selenium. If the menu is nested the click target needs to be identified by an address consisting of the index or label (or else) of the parent menus to click before the nested submenus become visible.

Besides the ability to click on a menu item it'd be helpful to have a method to investigate the menu structure, e.g. check that the submenu under the second menu item has 3 items. This could be done by clicking all three of them through Selenium, however compression in one method would be nice.

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

No branches or pull requests

1 participant