mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Small optimization.
This commit is contained in:
parent
eb433ba870
commit
a63bc245f5
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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/
|
||||
|
||||
6
e2e-tests/cypress/.gitignore
vendored
6
e2e-tests/cypress/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
node_modules/
|
||||
src/screenshots/
|
||||
src/videos/
|
||||
src/cucumber-messages.ndjson
|
||||
cypress/screenshots/
|
||||
cypress/videos/
|
||||
cypress/cucumber-messages.ndjson
|
||||
|
||||
@ -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"],
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user