PromucFlow_constructor/app/client/cypress/fixtures/saveAction.json
NandanAnantharamu 547a9a7ee0
Added tests for Oauth and Stubbed tests (#3463)
* Added tests for Oauth and Stubbed tests

* updated tests

* test updated

* updated DS tests

* review comments incorporated

* flag removed

* postinvite stubbed

* intercept req added and chromewebsecurity flag added

* Update app/client/cypress/support/commands.js

* updated header request

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-04-06 18:59:27 +05:30

40 lines
957 B
JSON

{
"responseMeta": {
"status": 200,
"success": true
},
"data": {
"id": "602d5150be5b8626c2dad9e0",
"userPermissions": [
"execute:datasources",
"manage:datasources",
"read:datasources"
],
"name": "Untitled Datasource 5213",
"pluginId": "5e687c18fb01e64e6a3f873f",
"organizationId": "5fd639aceb554e031ee61fef",
"datasourceConfiguration": {
"connection": {
"mode": "READ_WRITE",
"type": "REPLICA_SET",
"defaultDatabaseName": "sample_airbnb"
},
"endpoints": [
{
"host": "cypress-test.zljea.mongodb.net"
}
],
"authentication": {
"authenticationType": "dbAuth",
"authenticationType": "dbAuth",
"authType": "SCRAM_SHA_1",
"username": "cypress-test",
"databaseName": "admin"
},
"sshProxyEnabled": false
},
"invalids": [],
"isValid": true,
"new": false
}
}