mirror of
https://github.com/google/nomulus.git
synced 2025-05-29 17:00:11 +02:00
Enable Webdriver test in Kokoro build
We changed to use Docker to provision Chrome browser and ChromeDriverService, and the used Kokoro VM comes with the docker CLI so we can enable the webdriver tests again in kokoro build. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237874165
This commit is contained in:
parent
450e867534
commit
9823ee7fcf
1 changed files with 3 additions and 8 deletions
|
@ -647,11 +647,8 @@ test {
|
|||
exclude "**/*TestCase.*", "**/*TestSuite.*"
|
||||
exclude fragileTestPatterns
|
||||
exclude outcastTestPatterns
|
||||
if (rootProject.hasProperty("excludeWebDriverTests")) {
|
||||
exclude "**/webdriver/*"
|
||||
} else {
|
||||
dependsOn dockerRun
|
||||
}
|
||||
|
||||
dependsOn dockerRun
|
||||
|
||||
// Run every test class in its own process.
|
||||
// Uncomment to unblock build while troubleshooting inexplicable test errors.
|
||||
|
@ -667,10 +664,8 @@ test {
|
|||
new File(screenshotsDir).deleteDir()
|
||||
}
|
||||
}.dependsOn(fragileTest, outcastTest)
|
||||
test.finalizedBy(dockerStopAtEnd)
|
||||
|
||||
if (!rootProject.hasProperty("excludeWebDriverTests")) {
|
||||
test.finalizedBy(dockerStopAtEnd)
|
||||
}
|
||||
|
||||
task nomulus(type: Jar) {
|
||||
manifest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue