diff --git a/labels.list b/labels.list index db28a9f04..c273ab41a 100644 --- a/labels.list +++ b/labels.list @@ -72,4 +72,7 @@ This item is marked as incubating. + + This item is marked as unavailable. + diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_faq.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_faq.md index 645e645ee..838b7b5ca 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_faq.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_faq.md @@ -20,6 +20,11 @@ tasks { ``` +### Task `runIdeForUiTests` not found + +The [`runIdeForUiTests`](tools_intellij_platform_gradle_plugin_tasks.md#runIdeForUiTests) is no longer registeredby default. +Follow the task documentation for more details. + ### How to disable the automatic reload of dynamic plugins? See [](ide_development_instance.md#enabling-auto-reload) for important caveats. diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_tasks.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_tasks.md index b4bb93506..0b7c39f33 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_tasks.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_tasks.md @@ -1135,6 +1135,36 @@ To register a customized task, use [`intelliJPlatformTestingExtension.runIde`](t +## `runIdeForUiTests` +{#runIdeForUiTests} + + + +Runs the IDE instance using the currently selected IntelliJ Platform with the built plugin and Robot Server plugin loaded. + +Runs the IDE instance using the currently selected IntelliJ Platform with the built plugin and Robot Server plugin loaded. + +This task is not available by default and needs to be registered manually by applying the following code: + +```kotlin +val runIdeForUiTests by intellijPlatformTesting.runIde.registering { + task { + jvmArgumentProviders += CommandLineArgumentProvider { + listOf( + "-Drobot-server.port=8082", + "-Dide.mac.message.dialogs.as.sheets=false", + "-Djb.privacy.policy.text=", + "-Djb.consents.confirmation.enabled=false", + ) + } + } + plugins { + robotServerPlugin() + } +} +``` + + ## `setupDependencies` {#setupDependencies} @@ -1397,6 +1427,8 @@ The task itself isn't mutated and a dedicated [`prepareTest`](#prepareTest) task ## `testIde` {#testIde} + + Runs tests using a custom IntelliJ Platform with the developed plugin installed.