com.zegreatrob.jsmints.plugins.wdiotest.WdioTestExtension.kt Maven / Gradle / Ivy
package com.zegreatrob.jsmints.plugins.wdiotest
import org.gradle.api.Project
import org.gradle.api.model.ObjectFactory
import org.gradle.api.tasks.Input
import org.gradle.kotlin.dsl.property
abstract class WdioTestExtension(val project: Project, objectFactory: ObjectFactory) {
@Input
val baseUrl = objectFactory.property()
@Input
var wdioConfigFile = objectFactory.fileProperty()
@Input
var htmlReporter = objectFactory.property().convention(true)
@Input
var timelineReporter = objectFactory.property().convention(false)
@Input
val allureReporter = objectFactory.property().convention(false)
@Input
val allureReportHint = objectFactory.property().convention("")
@Input
var useChrome = objectFactory.property().convention(true)
@Input
var chromeBinary = objectFactory.property().convention(null)
@Input
var useHeadless = objectFactory.property().convention(true)
@Input
var screenshotsOnFailure = objectFactory.property().convention(true)
}