Cleanup registering the runIdeForUiTests task

This commit is contained in:
Jakub Chrzanowski 2024-08-09 14:40:34 +02:00 committed by Jakub Chrzanowski
parent b0c4bb5b62
commit 3c399f798b
2 changed files with 18 additions and 14 deletions

View File

@ -9,6 +9,7 @@
- Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.0.1` - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.0.1`
- Update `platformVersion` to `2023.3.7` - Update `platformVersion` to `2023.3.7`
- Change since/until build to `233-242.*` (2023.3-2024.2.*) - Change since/until build to `233-242.*` (2023.3-2024.2.*)
- Cleanup registering the `runIdeForUiTests` task
## [2.0.0] - 2024-07-30 ## [2.0.0] - 2024-07-30

View File

@ -1,6 +1,5 @@
import org.jetbrains.changelog.Changelog import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.platform.gradle.Constants.Constraints
import org.jetbrains.intellij.platform.gradle.TestFrameworkType import org.jetbrains.intellij.platform.gradle.TestFrameworkType
plugins { plugins {
@ -136,19 +135,23 @@ tasks {
} }
} }
val runIdeForUiTests by intellijPlatformTesting.runIde.registering { intellijPlatformTesting {
task { runIde {
jvmArgumentProviders += CommandLineArgumentProvider { register("runIdeForUiTests") {
listOf( task {
"-Drobot-server.port=8082", jvmArgumentProviders += CommandLineArgumentProvider {
"-Dide.mac.message.dialogs.as.sheets=false", listOf(
"-Djb.privacy.policy.text=<!--999.999-->", "-Drobot-server.port=8082",
"-Djb.consents.confirmation.enabled=false", "-Dide.mac.message.dialogs.as.sheets=false",
) "-Djb.privacy.policy.text=<!--999.999-->",
"-Djb.consents.confirmation.enabled=false",
)
}
}
plugins {
robotServerPlugin()
}
} }
} }
plugins {
robotServerPlugin(Constraints.LATEST_VERSION)
}
} }