CLD-5698 - Add e2e smoketests (#23590)
* Prepare: run E2E smoketests with GitHub actions (#23301) * Port E2E testing scripts from cypress-ui-automation * Move server to docker-compose, move E2E images to ecrpublic * Integrate General channel renaming, fixes * Add local automation-dashboard Add readme * Add E2E smoketests * Bump postgres to 12 * Fully rely on mattermostdevelopment images --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Этот коммит содержится в:
30
e2e-tests/Makefile
Обычный файл
30
e2e-tests/Makefile
Обычный файл
@@ -0,0 +1,30 @@
|
||||
SHELL := /bin/bash
|
||||
|
||||
.PHONY: all run stop
|
||||
all: run
|
||||
run: start-server prepare-server run-cypress
|
||||
stop: stop-server stop-dashboard clean-env-placeholders
|
||||
|
||||
.PHONY: start-server prepare-server run-cypress stop-server restart-server
|
||||
start-server:
|
||||
./.ci/server.start.sh
|
||||
prepare-server:
|
||||
./.ci/server.prepare.sh
|
||||
run-cypress:
|
||||
./.ci/server.run_cypress.sh
|
||||
stop-server:
|
||||
./.ci/server.stop.sh
|
||||
restart-server: stop-server start-server
|
||||
|
||||
.PHONY: start-dashboard stop-dashboard
|
||||
start-dashboard:
|
||||
./.ci/dashboard.start.sh
|
||||
stop-dashboard:
|
||||
./.ci/dashboard.stop.sh
|
||||
|
||||
.PHONY: print-env-placeholders clean-env-placeholders
|
||||
print-env-placeholders:
|
||||
find .ci -maxdepth 1 -name '.env.*' | xargs --verbose -l cat
|
||||
clean-env-placeholders:
|
||||
git reset .ci/.env.{cypress,server,dashboard}
|
||||
git checkout .ci/.env.{cypress,server,dashboard}
|
||||
Ссылка в новой задаче
Block a user