mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Move cypress/tests/cypress folder to src
This commit is contained in:
parent
140b53faf3
commit
9008c96d0f
@ -2,6 +2,7 @@ module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true,
|
||||
cypress: true,
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['cypress', 'prettier', '@typescript-eslint' /*, 'jest' */],
|
||||
8
e2e-tests/cypress/.gitignore
vendored
8
e2e-tests/cypress/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
tests/node_modules/
|
||||
tests/cypress/screenshots/
|
||||
tests/cypress/videos/
|
||||
tests/cucumber-messages.ndjson
|
||||
node_modules/
|
||||
src/screenshots/
|
||||
src/videos/
|
||||
src/cucumber-messages.ndjson
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
###############################################################################
|
||||
FROM cypress/base:16.14.2-slim
|
||||
|
||||
ARG DOCKER_WORKDIR=/tests/
|
||||
ARG DOCKER_WORKDIR"="/tests"
|
||||
WORKDIR $DOCKER_WORKDIR
|
||||
|
||||
# install dependencies
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Then, When } from '@badeball/cypress-cucumber-preprocessor'
|
||||
import { ResetPasswordPage } from '../../e2e/models/ResetPasswordPage'
|
||||
import { UserEMailSite } from '../../e2e/models/UserEMailSite'
|
||||
import { ResetPasswordPage } from '@models/ResetPasswordPage'
|
||||
import { UserEMailSite } from '@models/UserEMailSite'
|
||||
|
||||
const userEMailSite = new UserEMailSite()
|
||||
const resetPasswordPage = new ResetPasswordPage()
|
||||
@ -1,5 +1,5 @@
|
||||
import { And, When } from '@badeball/cypress-cucumber-preprocessor'
|
||||
import { RegistrationPage } from '../../e2e/models/RegistrationPage'
|
||||
import { RegistrationPage } from '@models/RegistrationPage'
|
||||
|
||||
const registrationPage = new RegistrationPage()
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"lib": ["es6", "dom"],
|
||||
"baseUrl": ".",
|
||||
"types": ["cypress", "node"],
|
||||
"strict": true
|
||||
},
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
15
e2e-tests/cypress/tsconfig.json
Normal file
15
e2e-tests/cypress/tsconfig.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"lib": ["es6", "dom"],
|
||||
"baseUrl": ".",
|
||||
"types": ["cypress", "node"],
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"@models/*": ["src/e2e/models/*"],
|
||||
}
|
||||
},
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user