Skip to content

Commit

Permalink
Обновление зависимостей @csssr/e2e-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyomResh authored Sep 21, 2022
1 parent d9a1247 commit 1387f7a
Show file tree
Hide file tree
Showing 3 changed files with 1,347 additions and 1,200 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
4 changes: 2 additions & 2 deletions e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"private": true,
"prettier": "@csssr/e2e-tools/prettier",
"devDependencies": {
"@csssr/e2e-tools": "~1.6.6",
"@csssr/e2e-tools-nightwatch": "~1.15.14"
"@csssr/e2e-tools": "~1.6.8",
"@csssr/e2e-tools-nightwatch": "1.15.16"
},
"resolutions": {
"netmask": ">=2.0.1"
Expand Down
Loading

0 comments on commit 1387f7a

Please sign in to comment.