CLD-6867 E2E Tests - Decouple cycle creation from test running (#25367)
* Separate test cycle generation from test running --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
000aa0d891
Коммит
43c3003e9d
17
e2e-tests/.ci/dashboard.generate_test_cycle.sh
Обычный файл
17
e2e-tests/.ci/dashboard.generate_test_cycle.sh
Обычный файл
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e -u -o pipefail
|
||||
cd "$(dirname "$0")"
|
||||
. .e2erc
|
||||
|
||||
mme2e_log "Loading variables from .env.cypress"
|
||||
if ! [ -f .env.cypress ]; then
|
||||
mme2e_log "Error: .env.cypress is required to exist, for the test cycle to be generated. Aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
set -a
|
||||
. .env.cypress
|
||||
|
||||
mme2e_log "Generating the test cycle on the Automation Dashboard"
|
||||
cd ../cypress
|
||||
# shellcheck disable=SC2086
|
||||
exec node --trace-warnings generate_test_cycle.js $TEST_FILTER
|
||||
Ссылка в новой задаче
Block a user