mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
introduced workflow which is launches UI tests on linux, windows and mac #89
This commit is contained in:
committed by
Jakub Chrzanowski
parent
f46a0939a2
commit
c38e14a201
@@ -1,5 +1,7 @@
|
||||
import io.gitlab.arturbosch.detekt.Detekt
|
||||
import org.jetbrains.changelog.markdownToHTML
|
||||
import org.jetbrains.intellij.tasks.DownloadRobotServerPluginTask
|
||||
import org.jetbrains.intellij.tasks.RunIdeForUiTestTask
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
fun properties(key: String) = project.findProperty(key).toString()
|
||||
@@ -63,6 +65,21 @@ detekt {
|
||||
}
|
||||
}
|
||||
|
||||
// Configure UI tests plugin
|
||||
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
|
||||
tasks {
|
||||
withType<DownloadRobotServerPluginTask> {
|
||||
version = "0.10.3"
|
||||
}
|
||||
|
||||
withType<RunIdeForUiTestTask> {
|
||||
systemProperty("robot-server.port", "8082")
|
||||
systemProperty("ide.mac.message.dialogs.as.sheets", "false")
|
||||
systemProperty("jb.privacy.policy.text", "<!--999.999-->")
|
||||
systemProperty("jb.consents.confirmation.enabled", "false")
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
// Set the compatibility versions to 1.8
|
||||
withType<JavaCompile> {
|
||||
|
||||
Reference in New Issue
Block a user