introduced workflow which is launches UI tests on linux, windows and mac #89

This commit is contained in:
eugene.nizienko
2021-04-07 12:08:14 +02:00
committed by Jakub Chrzanowski
parent f46a0939a2
commit c38e14a201
2 changed files with 101 additions and 0 deletions

View File

@@ -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> {