Small optimization.

This commit is contained in:
elweyn 2023-02-12 07:32:15 +01:00
parent eb433ba870
commit a63bc245f5
3 changed files with 10 additions and 9 deletions

View File

@ -649,10 +649,10 @@ jobs:
run: | run: |
cd e2e-tests/cypress/ cd e2e-tests/cypress/
yarn yarn
yarn run cypress run --spec src/e2e/User.Authentication.feature,cypress/e2e/User.Authentication.ResetPassword.feature yarn run cypress run --spec cypress/e2e/User.Authentication.feature,cypress/e2e/User.Authentication.ResetPassword.feature
- name: End-to-end tests | if tests failed, upload screenshots - name: End-to-end tests | if tests failed, upload screenshots
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: cypress-screenshots name: cypress-screenshots
path: /home/runner/work/gradido/gradido/e2e-tests/cypress/tests/cypress/screenshots/ path: /home/runner/work/gradido/gradido/e2e-tests/tests/screenshots/

View File

@ -1,4 +1,4 @@
node_modules/ node_modules/
src/screenshots/ cypress/screenshots/
src/videos/ cypress/videos/
src/cucumber-messages.ndjson cypress/cucumber-messages.ndjson

View File

@ -1,6 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es2016", "target": "es6",
"lib": ["es6", "dom"], "lib": ["es6", "dom"],
"baseUrl": ".", "baseUrl": ".",
"types": ["cypress", "node"], "types": ["cypress", "node"],
@ -8,8 +8,9 @@
"esModuleInterop": true, "esModuleInterop": true,
"moduleResolution": "node", "moduleResolution": "node",
"paths": { "paths": {
"@/*": ["src/*"], "@/*": ["cypress/*"],
"@models/*": ["src/e2e/models/*"], "@models/*": ["cypress/e2e/models/*"],
} }
}, },
"include": ["**/*.ts"],
} }