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: |
cd e2e-tests/cypress/
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
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
uses: actions/upload-artifact@v3
with:
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/
src/screenshots/
src/videos/
src/cucumber-messages.ndjson
cypress/screenshots/
cypress/videos/
cypress/cucumber-messages.ndjson

View File

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