Skip to content

feat: Added intellij 2025.1#399

Draft
martinszuc wants to merge 3 commits intoredhat-developer:mainfrom
martinszuc:ij20251
Draft

feat: Added intellij 2025.1#399
martinszuc wants to merge 3 commits intoredhat-developer:mainfrom
martinszuc:ij20251

Conversation

@martinszuc
Copy link
Collaborator

No description provided.

@martinszuc martinszuc marked this pull request as draft February 7, 2026 20:45
@martinszuc martinszuc force-pushed the ij20251 branch 2 times, most recently from 233af99 to d2b4de2 Compare February 8, 2026 15:22
@martinszuc martinszuc marked this pull request as ready for review February 8, 2026 16:03
@martinszuc martinszuc marked this pull request as draft February 8, 2026 16:47
@martinszuc martinszuc force-pushed the ij20251 branch 3 times, most recently from 4c34980 to 1a8fc05 Compare February 8, 2026 18:10
IntelliJ 2025.1 wrapped the Main Menu button in a MainMenuWithButton
container, breaking the existing XPath locator. Add version-specific
handling to support both old and new UI structures.

- Add MAIN_MENU_2025_1_AND_NEWER constant to XPathDefinitions
- Update MenuBar.navigateTo() to select XPath based on version
- Maintains backward compatibility with versions 2022.3-2024.3

Signed-off-by: Martin Szuc <mszuc@redhat.com>
…5.1+

Added version-specific fix (ideaVersionInt >= 20251) to:
1. Switch to Projects tab before clearing workspace
2. Improve exception handling in projectsCount() to catch all exceptions, not just IndexOutOfBoundsException

Signed-off-by: Martin Szuc <mszuc@redhat.com>
Signed-off-by: Martin Szuc <mszuc@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments