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: |
|
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/
|
||||||
|
|||||||
6
e2e-tests/cypress/.gitignore
vendored
6
e2e-tests/cypress/.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
src/screenshots/
|
cypress/screenshots/
|
||||||
src/videos/
|
cypress/videos/
|
||||||
src/cucumber-messages.ndjson
|
cypress/cucumber-messages.ndjson
|
||||||
|
|||||||
@ -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"],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user