tool_windows.md: Mention UI Integration tests

This commit is contained in:
Karol Lewandowski 2025-04-08 14:34:15 +02:00
parent 40962c3a86
commit e42ab17bfe

View File

@ -126,3 +126,9 @@ This plugin creates the <control>Sample Calendar</control> tool window that disp
When opened, this tool window is similar to the following screen:
![Sample Calendar](sample_calendar.png){width="403"}
## Testing
One of the testing approaches for tool windows is implementing [UI integration tests](integration_tests_ui.md).
To get a tool window in UI tests, use [`IdeaFrameUI.toolWindow()`](%gh-ic-master%/platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/common/IdeaFrameUiExt.kt).