* Migrate cypress tests and commands to TypeScript * Cypress added plugins to tsconfig * Update cypress plugins file to .ts
29 lines
815 B
JSON
29 lines
815 B
JSON
{
|
|
"name": "airbyte-webapp-e2e-tests",
|
|
"version": "0.0.0",
|
|
"description": "Airbyte e2e testing",
|
|
"scripts": {
|
|
"cypress:open": "cypress open",
|
|
"cypress:ci": "CYPRESS_BASE_URL=http://localhost:8000 cypress run",
|
|
"cypress:ci:record": "CYPRESS_BASE_URL=http://localhost:8000 cypress run --record --key $CYPRESS_KEY",
|
|
"createdb": "docker run --rm -d -p 5433:5432 -e POSTGRES_PASSWORD=secret_password -e POSTGRES_DB=airbyte_ci --name airbyte_ci_pg postgres"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"cypress/no-unnecessary-waiting": "warn"
|
|
},
|
|
"extends": [
|
|
"plugin:cypress/recommended"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"cypress": "^9.2.0",
|
|
"typescript": "^4.5.4",
|
|
"eslint-plugin-cypress": "^2.12.1"
|
|
}
|
|
}
|