* replace "cypress-postgres" with "pg-promise" npm package * update cypress config * update userDefineConnection type and naming * Update airbyte-webapp-e2e-tests/cypress/plugins/index.ts Co-authored-by: Mark Berger <mark.berger@globallogic.com> Co-authored-by: Mark Berger <mark.berger@globallogic.com>
30 lines
1.3 KiB
JSON
30 lines
1.3 KiB
JSON
{
|
|
"name": "airbyte-webapp-e2e-tests",
|
|
"version": "0.0.0",
|
|
"description": "Airbyte e2e testing",
|
|
"engines": {
|
|
"node": "16.18.1"
|
|
},
|
|
"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",
|
|
"createdbsource": "docker run --rm -d -p 5433:5432 -e POSTGRES_PASSWORD=secret_password -e POSTGRES_DB=airbyte_ci_source --name airbyte_ci_pg_source postgres",
|
|
"createdbdestination": "docker run --rm -d -p 5434:5432 -e POSTGRES_PASSWORD=secret_password -e POSTGRES_DB=airbyte_ci_destination --name airbyte_ci_pg_destination postgres",
|
|
"createdummyapi": "docker run --rm -d -p 6767:6767 --network=airbyte_airbyte_internal --mount type=bind,source=\"$(pwd)\"/dummy_api.js,target=/index.js --name=dummy_api node:16-alpine \"index.js\"",
|
|
"lint": "eslint --ext js,ts,tsx cypress"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
"@typescript-eslint/parser": "^5.27.1",
|
|
"cypress": "^9.2.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"pg-promise": "^10.15.4",
|
|
"prettier": "^2.6.2",
|
|
"typescript": "^4.5.4"
|
|
}
|
|
}
|