Skip to content

Commit

Permalink
Обновление зависимостей @csssr/e2e-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 30, 2022
1 parent cd56531 commit ced1d9a
Show file tree
Hide file tree
Showing 2 changed files with 804 additions and 801 deletions.
7 changes: 6 additions & 1 deletion e2e-tests/nightwatch/jenkins-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ browserCredentials = basicAuths
)
} as List

defaultCredentials = [
usernamePassword(credentialsId: "browserstack", usernameVariable: "BROWSERSTACK_USER", passwordVariable: "BROWSERSTACK_KEY"),
usernamePassword(credentialsId: "selenium", usernameVariable: "SELENIUM_USERNAME", passwordVariable: "SELENIUM_PASSWORD")
]

filesCheckboxes = getTestFiles()
.collect {
booleanParam(defaultValue: true, name: it)
Expand Down Expand Up @@ -137,7 +142,7 @@ pipeline {

steps {
script {
withCredentials(browserCredentials + [usernamePassword(credentialsId: "browserstack", usernameVariable: "BROWSERSTACK_USER", passwordVariable: "BROWSERSTACK_KEY")]) {
withCredentials(browserCredentials + defaultCredentials) {
sh """
pwd
cd e2e-tests
Expand Down
Loading

0 comments on commit ced1d9a

Please sign in to comment.