tests [remote-driver]: Add plugin error notification checking in BundledUltimatePluginsInFreeModeUiTest

- Update Notifications API to accept nullable project parameter
- Add error notification detection for bundled Ultimate plugins in free mode
- Extract plugin names from error messages using regex parsing
- Display detailed error message with affected plugin names

GitOrigin-RevId: 540d585d34da7cb29bd294e4dca464378266a330
This commit is contained in:
Dmitry.Yudin
2025-11-14 21:52:17 +00:00
committed by intellij-monorepo-bot
parent 058fe4f519
commit dfc9f40a52
@@ -17,11 +17,11 @@ interface Notification {
@Remote("com.intellij.notification.ActionCenter")
interface ActionCenter {
fun getNotifications(project: Project): List<Notification>
fun getNotifications(project: Project?): List<Notification>
}
fun Driver.getNotifications(project: Project? = null): Collection<Notification> {
fun Driver.getNotifications(project: Project? = singleProject()): Collection<Notification> {
return withContext(OnDispatcher.EDT) {
utility<ActionCenter>().getNotifications(project ?: singleProject())
utility<ActionCenter>().getNotifications(project)
}
}