PromucFlow_constructor/app/client/perf
Satish Gandham c9a7587dcf
ci: Fix golden app tests and more (#15172)
* - Save the DOM on test failures.
- Handle promise rejection in tests.
- Save console logs to a file instead of stdout

* - Fix golden app tests
- Upgrade widgets in golden app to latest version

* - Removing logging to file temporarily
- Add test index to the file names

* Some final cleanup

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-07-15 14:40:45 +05:30
..
src ci: Fix golden app tests and more (#15172) 2022-07-15 14:40:45 +05:30
tests ci: Fix golden app tests and more (#15172) 2022-07-15 14:40:45 +05:30
gen-summary.js chore: persist performance test results (#11208) 2022-02-16 19:55:33 +05:30
package.json chore: Upgrading the puppeteer dependency in perf folder (#12042) 2022-03-24 18:24:39 +05:30
readme.md ci: Fix golden app tests and more (#15172) 2022-07-15 14:40:45 +05:30
start-test.sh feat: Add app import utility and perform the initial setup on CI (#10050) 2022-01-04 13:58:47 +05:30
yarn.lock chore: Upgrading the puppeteer dependency in perf folder (#12042) 2022-03-24 18:24:39 +05:30

Adding credentials to app export

  • In the exported app add this property under datasourceList in the item corresponding to the plugin you are adding credentials for.

    "datasourceConfiguration": {
                "connection": {
                    "mode": "READ_WRITE",
                    "ssl": {
                        "authType": "DEFAULT"
                    }
                },
                "endpoints": [{
                    "host": "localhost",
                    "port": 5432
                }],
                "sshProxyEnabled": false
            },
    
  • Add this key at the top level

    "decryptedFields": {
    	"PostgresGolden": {
    		"password": "********",
    		"authType": "com.appsmith.external.models.DBAuth",
    		"dbAuth": {
    			"authenticationType": "dbAuth",
    			"authenticationType": "dbAuth",
    			"username": "********",
    			"databaseName": "db_name"
    		}
    	}
    },