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>
Этот коммит содержится в:
2
e2e-tests/cypress/package-lock.json
сгенерированный
2
e2e-tests/cypress/package-lock.json
сгенерированный
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "cypress",
|
||||
"name": "app",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
||||
@@ -217,6 +217,9 @@ function sysadminSetup(user) {
|
||||
// # Deactivate test bots if any
|
||||
cy.apiDeactivateTestBots();
|
||||
|
||||
// # Disable welcome tours if any
|
||||
cy.apiDisableTutorials(user.id);
|
||||
|
||||
// # Check if default team is present; create if not found.
|
||||
cy.apiGetTeamsForUser().then(({teams}) => {
|
||||
const defaultTeam = teams && teams.length > 0 && teams.find((team) => team.name === DEFAULT_TEAM.name);
|
||||
|
||||
Ссылка в новой задаче
Block a user