From e42ab17bfed668b7973b7506b9f86421cc32f571 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Tue, 8 Apr 2025 14:34:15 +0200 Subject: [PATCH] tool_windows.md: Mention UI Integration tests --- topics/user_interface_components/tool_windows.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/topics/user_interface_components/tool_windows.md b/topics/user_interface_components/tool_windows.md index dedee0bc1..d35dfdc95 100644 --- a/topics/user_interface_components/tool_windows.md +++ b/topics/user_interface_components/tool_windows.md @@ -126,3 +126,9 @@ This plugin creates the Sample Calendar 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).