Move /e2e -> /e2e-tests
4
.github/codeql/codeql-config.yml
поставляемый
@@ -14,6 +14,6 @@ paths-ignore:
|
|||||||
- templates
|
- templates
|
||||||
- tests
|
- tests
|
||||||
- 'api4/*_local.go'
|
- 'api4/*_local.go'
|
||||||
- webapp/channels/e2e
|
|
||||||
- webapp/channels/tests
|
- webapp/channels/tests
|
||||||
- '**/*.test.*'
|
- '**/*.test.*'
|
||||||
|
- e2e-tests
|
||||||
|
|||||||
40
.github/workflows/channels-ci.yml
поставляемый
@@ -32,14 +32,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# '**/node_modules'
|
# '**/node_modules'
|
||||||
# 'e2e/playwright/node_modules'
|
# 'e2e-tests/playwright/node_modules'
|
||||||
# 'e2e/cypress/node_modules'
|
# 'e2e-tests/cypress/node_modules'
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e/cypress/package-lock.json') }}-${{ hashFiles('e2e/playwright/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e-tests/cypress/package-lock.json') }}-${{ hashFiles('e2e-tests/playwright/package-lock.json') }}
|
||||||
- name: ci/get-node-modules
|
- name: ci/get-node-modules
|
||||||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
make node_modules
|
make node_modules
|
||||||
# make channels/e2e/playwright/node_modules
|
# make channels/e2e-tests/playwright/node_modules
|
||||||
- name: ci/lint
|
- name: ci/lint
|
||||||
run: |
|
run: |
|
||||||
npm run check
|
npm run check
|
||||||
@@ -63,14 +63,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# '**/node_modules'
|
# '**/node_modules'
|
||||||
# 'e2e/playwright/node_modules'
|
# 'e2e-tests/playwright/node_modules'
|
||||||
# 'e2e/cypress/node_modules'
|
# 'e2e-tests/cypress/node_modules'
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e/cypress/package-lock.json') }}-${{ hashFiles('e2e/playwright/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e-tests/cypress/package-lock.json') }}-${{ hashFiles('e2e-tests/playwright/package-lock.json') }}
|
||||||
- name: ci/get-node-modules
|
- name: ci/get-node-modules
|
||||||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
make node_modules
|
make node_modules
|
||||||
# make channels/e2e/playwright/node_modules
|
# make channels/e2e-tests/playwright/node_modules
|
||||||
- name: ci/lint
|
- name: ci/lint
|
||||||
working-directory: webapp/channels
|
working-directory: webapp/channels
|
||||||
run: |
|
run: |
|
||||||
@@ -103,14 +103,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# '**/node_modules'
|
# '**/node_modules'
|
||||||
# 'e2e/playwright/node_modules'
|
# 'e2e-tests/playwright/node_modules'
|
||||||
# 'e2e/cypress/node_modules'
|
# 'e2e-tests/cypress/node_modules'
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e/cypress/package-lock.json') }}-${{ hashFiles('e2e/playwright/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e-tests/cypress/package-lock.json') }}-${{ hashFiles('e2e-tests/playwright/package-lock.json') }}
|
||||||
- name: ci/get-node-modules
|
- name: ci/get-node-modules
|
||||||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
make node_modules
|
make node_modules
|
||||||
# make channels/e2e/playwright/node_modules
|
# make channels/e2e-tests/playwright/node_modules
|
||||||
- name: ci/lint
|
- name: ci/lint
|
||||||
run: |
|
run: |
|
||||||
npm run check-types
|
npm run check-types
|
||||||
@@ -138,14 +138,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# '**/node_modules'
|
# '**/node_modules'
|
||||||
# 'e2e/playwright/node_modules'
|
# 'e2e-tests/playwright/node_modules'
|
||||||
# 'e2e/cypress/node_modules'
|
# 'e2e-tests/cypress/node_modules'
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e/cypress/package-lock.json') }}-${{ hashFiles('e2e/playwright/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e-tests/cypress/package-lock.json') }}-${{ hashFiles('e2e-tests/playwright/package-lock.json') }}
|
||||||
- name: ci/get-node-modules
|
- name: ci/get-node-modules
|
||||||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
make node_modules
|
make node_modules
|
||||||
# make channels/e2e/playwright/node_modules
|
# make channels/e2e-tests/playwright/node_modules
|
||||||
- name: ci/test
|
- name: ci/test
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: --max_old_space_size=5120
|
NODE_OPTIONS: --max_old_space_size=5120
|
||||||
@@ -174,14 +174,14 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# '**/node_modules'
|
# '**/node_modules'
|
||||||
# 'e2e/playwright/node_modules'
|
# 'e2e-tests/playwright/node_modules'
|
||||||
# 'e2e/cypress/node_modules'
|
# 'e2e-tests/cypress/node_modules'
|
||||||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e/cypress/package-lock.json') }}-${{ hashFiles('e2e/playwright/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('e2e-tests/cypress/package-lock.json') }}-${{ hashFiles('e2e-tests/playwright/package-lock.json') }}
|
||||||
- name: ci/get-node-modules
|
- name: ci/get-node-modules
|
||||||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
make node_modules
|
make node_modules
|
||||||
# make channels/e2e/playwright/node_modules
|
# make channels/e2e-tests/playwright/node_modules
|
||||||
- name: ci/build
|
- name: ci/build
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: mattermost-e2e
|
name: mattermost-e2e-tests
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: e2e/cypress
|
working-directory: e2e-tests/cypress
|
||||||
steps:
|
steps:
|
||||||
- name: ci/checkout-repo
|
- name: ci/checkout-repo
|
||||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: 'e2e/cypress/package-lock.json'
|
cache-dependency-path: 'e2e-tests/cypress/package-lock.json'
|
||||||
- name: ci/cypress/npm-install
|
- name: ci/cypress/npm-install
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: e2e/playwright
|
working-directory: e2e-tests/playwright
|
||||||
steps:
|
steps:
|
||||||
- name: ci/checkout-repo
|
- name: ci/checkout-repo
|
||||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: 'e2e/playwright/package-lock.json'
|
cache-dependency-path: 'e2e-tests/playwright/package-lock.json'
|
||||||
- name: ci/get-webapp-node-modules
|
- name: ci/get-webapp-node-modules
|
||||||
working-directory: webapp
|
working-directory: webapp
|
||||||
# requires build of client and types
|
# requires build of client and types
|
||||||
34
.gitignore
поставляемый
@@ -23,25 +23,25 @@ config/logging.json
|
|||||||
/plugins
|
/plugins
|
||||||
|
|
||||||
# disable folders generated by Cypress
|
# disable folders generated by Cypress
|
||||||
e2e/cypress/node_modules
|
e2e-tests/cypress/node_modules
|
||||||
e2e/cypress/tests/downloads
|
e2e-tests/cypress/tests/downloads
|
||||||
e2e/cypress/tests/screenshots
|
e2e-tests/cypress/tests/screenshots
|
||||||
e2e/cypress/tests/videos
|
e2e-tests/cypress/tests/videos
|
||||||
e2e/cypress/tests/integration/benchmark/__benchmarks__
|
e2e-tests/cypress/tests/integration/benchmark/__benchmarks__
|
||||||
e2e/cypress/tests/integration/performance/logs
|
e2e-tests/cypress/tests/integration/performance/logs
|
||||||
e2e/cypress/tests/fixtures/ldap_tmp
|
e2e-tests/cypress/tests/fixtures/ldap_tmp
|
||||||
e2e/cypress/tests/fixtures/mmctl
|
e2e-tests/cypress/tests/fixtures/mmctl
|
||||||
e2e/cypress/results
|
e2e-tests/cypress/results
|
||||||
e2e/cypress/.eslintcache
|
e2e-tests/cypress/.eslintcache
|
||||||
|
|
||||||
# disable files/folders generated by Playwright
|
# disable files/folders generated by Playwright
|
||||||
e2e/playwright/node_modules
|
e2e-tests/playwright/node_modules
|
||||||
e2e/playwright/playwright-report
|
e2e-tests/playwright/playwright-report
|
||||||
e2e/playwright/storage_state
|
e2e-tests/playwright/storage_state
|
||||||
e2e/playwright/test-results
|
e2e-tests/playwright/test-results
|
||||||
e2e/playwright/tests/**/*-darwin.png
|
e2e-tests/playwright/tests/**/*-darwin.png
|
||||||
e2e/playwright/tests/**/*-window.png
|
e2e-tests/playwright/tests/**/*-window.png
|
||||||
e2e/playwright/.eslintcache
|
e2e-tests/playwright/.eslintcache
|
||||||
|
|
||||||
# Enterprise & products imports files
|
# Enterprise & products imports files
|
||||||
imports/imports.go
|
imports/imports.go
|
||||||
|
|||||||
0
e2e/.gitignore → e2e-tests/.gitignore
поставляемый
0
e2e/cypress/package-lock.json → e2e-tests/cypress/package-lock.json
сгенерированный
|
До Ширина: | Высота: | Размер: 21 KiB После Ширина: | Высота: | Размер: 21 KiB |
|
До Ширина: | Высота: | Размер: 341 KiB После Ширина: | Высота: | Размер: 341 KiB |
|
До Ширина: | Высота: | Размер: 769 KiB После Ширина: | Высота: | Размер: 769 KiB |
|
До Ширина: | Высота: | Размер: 3.3 KiB После Ширина: | Высота: | Размер: 3.3 KiB |
|
До Ширина: | Высота: | Размер: 356 B После Ширина: | Высота: | Размер: 356 B |
|
До Ширина: | Высота: | Размер: 559 B После Ширина: | Высота: | Размер: 559 B |
|
До Ширина: | Высота: | Размер: 382 B После Ширина: | Высота: | Размер: 382 B |
|
До Ширина: | Высота: | Размер: 514 B После Ширина: | Высота: | Размер: 514 B |
|
До Ширина: | Высота: | Размер: 114 KiB После Ширина: | Высота: | Размер: 114 KiB |
|
До Ширина: | Высота: | Размер: 470 KiB После Ширина: | Высота: | Размер: 470 KiB |
|
До Ширина: | Высота: | Размер: 611 KiB После Ширина: | Высота: | Размер: 611 KiB |
|
До Ширина: | Высота: | Размер: 7.7 KiB После Ширина: | Высота: | Размер: 7.7 KiB |
|
До Ширина: | Высота: | Размер: 11 KiB После Ширина: | Высота: | Размер: 11 KiB |
|
До Ширина: | Высота: | Размер: 956 B После Ширина: | Высота: | Размер: 956 B |
|
До Ширина: | Высота: | Размер: 3.5 KiB После Ширина: | Высота: | Размер: 3.5 KiB |
|
До Ширина: | Высота: | Размер: 14 KiB После Ширина: | Высота: | Размер: 14 KiB |
|
До Ширина: | Высота: | Размер: 2.3 KiB После Ширина: | Высота: | Размер: 2.3 KiB |
|
До Ширина: | Высота: | Размер: 1.0 KiB После Ширина: | Высота: | Размер: 1.0 KiB |
|
До Ширина: | Высота: | Размер: 1.3 KiB После Ширина: | Высота: | Размер: 1.3 KiB |
|
До Ширина: | Высота: | Размер: 16 KiB После Ширина: | Высота: | Размер: 16 KiB |
|
До Ширина: | Высота: | Размер: 13 KiB После Ширина: | Высота: | Размер: 13 KiB |
|
До Ширина: | Высота: | Размер: 89 KiB После Ширина: | Высота: | Размер: 89 KiB |
|
До Ширина: | Высота: | Размер: 13 KiB После Ширина: | Высота: | Размер: 13 KiB |
|
До Ширина: | Высота: | Размер: 13 KiB После Ширина: | Высота: | Размер: 13 KiB |