Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions e2e-tests/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Этот файл сгенерирован автоматически, не редактируйте его вручную
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"git.ignoreLimitWarning": true
}
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
7 changes: 4 additions & 3 deletions e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"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.15",
"@csssr/e2e-tools-nightwatch": "1.15.23"
},
"resolutions": {
"netmask": ">=2.0.1"
"netmask": ">=2.0.1",
"canvas": "^2.11.2"
}
}
Loading
Loading