| Summary: | Cannot click on "Show as List" view menu of "Search" view | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] SWTBot | Reporter: | Marko Tomljenovic <tomljenovic> | ||||||
| Component: | SWTBot | Assignee: | Project Inbox <swtbot-inbox> | ||||||
| Status: | NEW --- | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | mistria | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Marko Tomljenovic
Created attachment 176096 [details]
Patch for ViewMenuFinder class
The reason for this bug is that only ActionContributionItem instances are searched(found) and not also SubContributionItem/SubManager objects. This has been fixed in the patch.
Created attachment 176097 [details]
Corrected the previous patch and added testcase for the bug
Note that with suggested change https://git.eclipse.org/r/36282 , you should be able to manipulate the view menu in plain SWT-style, with bot.toolbarDropDownButtonWithTooltip("View Menu").menuItem(...). |