Skip to content

Commit ced1d9a

Browse files
Обновление зависимостей @csssr/e2e-tools
1 parent cd56531 commit ced1d9a

File tree

2 files changed

+804
-801
lines changed

2 files changed

+804
-801
lines changed

e2e-tests/nightwatch/jenkins-pipeline.groovy

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ browserCredentials = basicAuths
2525
)
2626
} as List
2727

28+
defaultCredentials = [
29+
usernamePassword(credentialsId: "browserstack", usernameVariable: "BROWSERSTACK_USER", passwordVariable: "BROWSERSTACK_KEY"),
30+
usernamePassword(credentialsId: "selenium", usernameVariable: "SELENIUM_USERNAME", passwordVariable: "SELENIUM_PASSWORD")
31+
]
32+
2833
filesCheckboxes = getTestFiles()
2934
.collect {
3035
booleanParam(defaultValue: true, name: it)
@@ -137,7 +142,7 @@ pipeline {
137142

138143
steps {
139144
script {
140-
withCredentials(browserCredentials + [usernamePassword(credentialsId: "browserstack", usernameVariable: "BROWSERSTACK_USER", passwordVariable: "BROWSERSTACK_KEY")]) {
145+
withCredentials(browserCredentials + defaultCredentials) {
141146
sh """
142147
pwd
143148
cd e2e-tests

0 commit comments

Comments
 (0)