|
|
@ -61,15 +61,20 @@ object Drivers { |
|
|
|
@MethodSource("resolveDrivers") |
|
|
|
@MethodSource("resolveDrivers") |
|
|
|
annotation class ResolveDrivers |
|
|
|
annotation class ResolveDrivers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DisplayNameGeneration(DisplayNameSimplifier::class) |
|
|
|
@DisplayNameGeneration(DisplayNameSimplifier::class) |
|
|
|
@ExtendWith(value = [StaticServerSetupExtension::class]) |
|
|
|
@ExtendWith(value = [StaticServerSetupExtension::class]) |
|
|
|
abstract class BaseIntegrationTests() { |
|
|
|
abstract class BaseIntegrationTests() { |
|
|
|
companion object { |
|
|
|
companion object { |
|
|
|
|
|
|
|
@OptIn(ExperimentalStdlibApi::class) |
|
|
|
|
|
|
|
private val drivers: Array<Array<WebDriver>> = buildList<Array<WebDriver>> { |
|
|
|
|
|
|
|
add(arrayOf(Drivers.Chrome)) |
|
|
|
|
|
|
|
if (System.getProperty("compose.web.tests.integration.withFirefox") == "true") { |
|
|
|
|
|
|
|
add(arrayOf(Drivers.Firefox)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}.toTypedArray() |
|
|
|
|
|
|
|
|
|
|
|
@JvmStatic |
|
|
|
@JvmStatic |
|
|
|
fun resolveDrivers(): Array<Array<Any>> { |
|
|
|
fun resolveDrivers() = drivers |
|
|
|
return arrayOf( |
|
|
|
|
|
|
|
arrayOf(Drivers.Chrome) |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|