* Record e2e tests to cypress dashboard * Make env variable accessible in script * Improve e2e_test script * Properly wait for server to be ready * Isolate test suites better * More test isolation * Revert baseUrl for development
28 lines
671 B
JSON
28 lines
671 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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|