All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zegreatrob.jsmints.plugins.wdiotest.WdioTestExtension.kt Maven / Gradle / Ivy

There is a newer version: 6.1.90
Show newest version
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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy