2018-10-30 16:49:53 +01:00
|
|
|
import static com.sap.piper.Prerequisites.checkScript
|
2018-10-17 16:44:20 +02:00
|
|
|
import groovy.transform.Field
|
|
|
|
|
2018-11-29 09:54:05 +01:00
|
|
|
@Field String STEP_NAME = getClass().getName()
|
2021-11-15 14:20:20 +01:00
|
|
|
@Field String METADATA_FILE = 'metadata/gaugeExecuteTests.yaml'
|
2019-03-29 12:14:01 +01:00
|
|
|
|
2018-10-17 16:44:20 +02:00
|
|
|
void call(Map parameters = [:]) {
|
2021-06-01 14:15:10 +03:00
|
|
|
List credentials = [
|
|
|
|
[type: 'usernamePassword', id: 'seleniumHubCredentialsId', env: ['PIPER_SELENIUM_HUB_USER', 'PIPER_SELENIUM_HUB_PASSWORD']],
|
|
|
|
]
|
|
|
|
final script = checkScript(this, parameters) ?: this
|
|
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
2018-10-17 16:44:20 +02:00
|
|
|
}
|