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>
Этот коммит содержится в:
Mario Vitale
2024-01-09 11:40:33 +01:00
коммит произвёл GitHub
родитель 000aa0d891
Коммит 43c3003e9d
8 изменённых файлов: 33 добавлений и 24 удалений

Просмотреть файл

@@ -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