Add cypress.env.example (#5366)

* Add cypress.env.example file

* Remove js config(unused)

* Remove all env vars from config file
This commit is contained in:
Midhun Kumar E 2023-01-19 16:09:05 +05:30 committed by GitHub
parent 6e057e89b9
commit 15bd45c2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 61 deletions

View file

@ -1 +1,2 @@
/node_modules
/node_modules
/cypress.env.json

View file

@ -12,55 +12,7 @@ module.exports = defineConfig({
viewportHeight: 960,
chromeWebSecurity: false,
trashAssetsBeforeRuns: true,
env: {
pg_host: "",
pg_user: "",
pg_password: "",
elasticsearch_host: "",
elasticsearch_user: "",
elasticsearch_password: "",
sso_password: "",
git_user: "",
google_user: "",
dynamodb_access_key: "",
dynamodb_secret_key: "",
smtp_host: "",
smtp_port: "587",
smtp_user: "",
smtp_password: "",
redis_host: "",
redis_port: "",
redis_password: "",
mongodb_connString: "",
mongodb_host: "",
mongodb_user: "",
mongo_password: "",
bigquery_pvt_key: {},
firestore_pvt_key: {},
mysql_host: "",
mysql_user: "",
mysql_password: "",
aws_access: "",
aws_secret: "",
},
db: {
user: "postgres",
host: "localhost",
database: "tooljet_development",
password: "postgres",
port: "5432",
},
e2e: {
setupNodeEvents(on, config) {
on("task", {

View file

@ -0,0 +1,49 @@
{
"sso_password": "",
"git_user": "",
"google_user": "",
"pg_host": "",
"pg_user": "",
"pg_password": "",
"elasticsearch_host": "",
"elasticsearch_user": "",
"elasticsearch_password": "",
"dynamodb_access_key": "",
"dynamodb_secret_key": "",
"smtp_host": "",
"smtp_port": "",
"smtp_user": "",
"smtp_password": "",
"redis_host": "",
"redis_port": "",
"redis_password": "",
"mongodb_connString": "",
"mongodb_host": "",
"mongodb_user": "",
"mongo_password": "",
"bigquery_pvt_key": {},
"firestore_pvt_key": {},
"mysql_host": "",
"mysql_user": "",
"mysql_password": "",
"aws_access": "",
"aws_secret": "",
"app_db": {
"user": "postgres",
"host": "localhost",
"database": "tooljet_development",
"password": "postgres",
"port": "5432"
}
}

View file

@ -1,12 +0,0 @@
{
"compilerOptions": {
"paths": {
"Texts/*": [
"./constants/texts/*"
],
"Selectors/*": [
"./constants/selectors/*"
]
}
}
}