Skip to content

Commit

Permalink
feat: remove obsolete json data (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjalimukundan authored Dec 16, 2024
1 parent 98e9a92 commit 8d7e51d
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 4,223 deletions.
62 changes: 0 additions & 62 deletions cypress/fixtures/fireboltCalls/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,74 +9,12 @@
"method": "account.id",
"expected": "error"
},
"ACCOUNT_ID": {
"method": "account.id",
"validationJsonPath": "result",
"content": "ACCOUNT_ID"
},
"ACCOUNT_UID": {
"method": "account.uid",
"validationJsonPath": "result",
"content": "ACCOUNT_UID"
},
"INVALID_PARAMETER_ERROR_FOR_ACCOUNT_ID": {
"method": "account.id",
"validationJsonPath": "result",
"content": "INVALID_PARAMS"
},
"INVALID_PARAMETER_ERROR_FOR_ACCOUNT_UID": {
"method": "account.uid",
"validationJsonPath": "result",
"content": "INVALID_PARAMS"
},
"INVALID_REQUEST_ERROR_FOR_ACCOUNT_UID": {
"method": "account.uid",
"validationJsonPath": "result",
"content": "INVALID_PARAMS",
"expectingError": true
},
"PUSH_SESSION_TOKEN": {
"method": "manage_account.session",
"params": "ACCOUNT_SESSION"
},
"GET_ADVERTISINGID_WITH_CUSTOM_ERROR": {
"method": "advertising.advertisingId",
"params": "TRUE",
"expected": "error"
},
"SET_ACCOUNT_SESSION_WITH_INVALID_TOKEN": {
"method": "manage_account.session",
"params": "ACCOUNT_SESSION_INVALID_TOKEN",
"expected": "error"
},
"INVALID_PARAMETERS_FOR_ACCOUNT_SESSION": {
"method": "account.session",
"validationJsonPath": "result",
"content": "INVALID_PARAMS",
"expectingError": true
},
"SET_ACCOUNT_SESSION_WITH_INVALID_EXPIRESIN": {
"method": "manage_account.session",
"params": "ACCOUNT_SESSION_INVALID_EXPIRESIN",
"expected": "error"
},
"SET_ACCOUNT_SESSION_WITH_INVALID_EXPIRESIN_VALUE": {
"method": "manage_account.session",
"params": "ACCOUNT_EXPIRESIN_INVALID_VALUE",
"expected": "error"
},
"SET_ACCOUNT_SESSION_WITHOUT_PARAMETERS": {
"method": "manage_account.session",
"expected": "error"
},
"FETCH_ACCOUNT_ID_WHEN_DEVICE_IS_NOT_PROVISIONED": {
"method": "account.id",
"expected": "error"
},
"FETCH_ACCOUNT_UID_WHEN_DEVICE_IS_NOT_PROVISIONED": {
"method": "account.uid",
"expected": "error"
},
"FETCH_ACCOUNT_ID_WHEN_ACCOUNT_IS_NOT_PROVISIONED": {
"method": "account.id",
"expected": "error"
Expand Down
209 changes: 0 additions & 209 deletions cypress/fixtures/fireboltCalls/advertising.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
{
"ADVERTISING_ONPOLICYCHANGED": {
"method": "advertising.onPolicyChanged"
},
"GET_ADVERTISING_POLICY": {
"method": "advertising.policy"
},
"DISABLE_LIMITADTRACKING": {
"method": "manage_privacy.setAllowAppContentAdTargeting",
"params": "FALSE"
},
"ENABLE_LIMITADTRACKING": {
"method": "manage_privacy.setAllowAppContentAdTargeting",
"params": "TRUE"
},
"SET_SKIPRESTRICTION_AS_NONE": {
"method": "manage_advertising.setSkipRestriction",
"params": "NONE"
},
"SET_SKIPRESTRICTION_AS_ADSUNWATCHED": {
"method": "manage_advertising.setSkipRestriction",
"params": "ADVERTISING_SKIPRESTRICTION_ADSUNWATCHED"
},
"SET_SKIPRESTRICTION_AS_ADSALL": {
"method": "manage_advertising.setSkipRestriction",
"params": "ADVERTISING_SKIPRESTRICTION_ADSALL"
Expand All @@ -32,117 +14,17 @@
"GET_DEVICEATTRIBUTES": {
"method": "advertising.deviceAttributes"
},
"GET_APPBUNDLEID": {
"method": "advertising.appBundleId"
},
"GET_ADVERTISINGID": {
"method": "advertising.advertisingId"
},
"GET_INITIALIZATION_PARAMETERS": {
"method": "parameters.initialization"
},
"GET_NO_COPPA": {
"method": "advertising.config",
"params": "ADVERTISING_NO_COPPA"
},
"GET_COPPA_AS_TRUE": {
"method": "advertising.config",
"params": "ADVERTISING_COPPA_TRUE"
},
"GET_COPPA_AS_FALSE": {
"method": "advertising.config",
"params": "ADVERTISING_COPPA_FALSE"
},
"GET_NO_COPPA_WITH_ENVIRONMENT_VALUE_TEST": {
"method": "advertising.config",
"params": "ADVERTISING_NO_COPPA_ENVIRONMENT_TEST"
},
"GET_COPPA_AS_TRUE_WITH_ENVIRONMENT_VALUE_TEST": {
"method": "advertising.config",
"params": "ADVERTISING_COPPA_TRUE_ENVIRONMENT_TEST"
},
"GET_COPPA_AS_FALSE_WITH_ENVIRONMENT_VALUE_TEST": {
"method": "advertising.config",
"params": "ADVERTISING_COPPA_FALSE_ENVIRONMENT_TEST"
},
"GET_ONLY_COPPA": {
"method": "advertising.config",
"params": "ADVERTISING_ONLY_COPPA"
},
"GET_EMPTY_PARAMETER": {
"method": "advertising.config",
"params": "ADVERTISING_EMPTY_PARAMS"
},
"GET_CONFIG_WITH_EMPTY_PARAMETER": {
"method": "advertising.config",
"expected": "error"
},
"GET_CONFIG_WITH_INVALID_COPPA": {
"method": "advertising.config",
"params": "ADVERTISING_INVALID_CONFIG_COPPA",
"expected": "error"
},
"GET_CONFIG_WITH_INVALID_AUTHENTICATIONENTITY": {
"method": "advertising.config",
"params": "ADVERTISING_INVALID_CONFIG_AUTHENTICATIONENTITY",
"expected": "error"
},
"GET_CONFIG_WITH_INVALID_ENVIRONMENT_DATATYPE": {
"method": "advertising.config",
"params": "ADVERTISING_INVALID_CONFIG_ENVIRONMENT_DATATYPE",
"expected": "error"
},
"GET_CONFIG_WITH_INVALID_ENVIRONMENT": {
"method": "advertising.config",
"params": "ADVERTISING_INVALID_CONFIG_ENVIRONMENT",
"expected": "error"
},
"GET_CONFIG_WITH_INTEGER_PARAMETER": {
"method": "advertising.config",
"params": "ADVERTISING_INTEGER_PARAM",
"expected": "error"
},
"SET_SKIPRESTRICTION_WITH_UNDEFINED_PARAMETER": {
"method": "manage_advertising.setSkipRestriction"
},
"GET_ADVERTISINGID_FOR_SCOPE_BROWSER": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_SCOPE_BROWSER"
},
"GET_ADVERTISINGID_FOR_SCOPE_CONTENT": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_SCOPE_CONTENT"
},
"GET_ADVERTISINGID_WITH_INVALID_TYPE": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_INVALID_TYPE",
"expected": "error"
},
"GET_ADVERTISINGID_WITH_INVALID_ID": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_INVALID_ID",
"expected": "error"
},
"ADVERTISING_POLICY_LIMITADTRACKING_AS_TRUE": {
"method": "advertising.policy",
"validationJsonPath": "result.limitAdTracking",
"content": "ADVERTISING_POLICY_TRUE"
},
"ADVERTISING_POLICY_LIMITADTRACKING_AS_FALSE": {
"method": "advertising.policy",
"validationJsonPath": "result.limitAdTracking",
"content": "ADVERTISING_POLICY_FALSE"
},
"ONPOLICYCHANGED_FOR_ADVERTISING_LIMITADTRACKING_WITH_TRUE": {
"event": "advertising.onPolicyChanged",
"validationJsonPath": "eventResponse.limitAdTracking",
"content": "ADVERTISING_POLICY_TRUE"
},
"ONPOLICYCHANGED_FOR_ADVERTISING_LIMITADTRACKING_WITH_FALSE": {
"event": "advertising.onPolicyChanged",
"validationJsonPath": "eventResponse.limitAdTracking",
"content": "ADVERTISING_POLICY_FALSE"
},
"ADVERTISING_POLICY_SKIPRESTRICTION_AS_NONE": {
"method": "advertising.policy",
"validationJsonPath": "result.skipRestriction",
Expand Down Expand Up @@ -188,56 +70,11 @@
"validationJsonPath": "result",
"content": "ADVERTISING_DEVICEATTRIBUTES"
},
"ADVERTISING_APPBUNDLEID": {
"method": "advertising.appBundleId",
"validationJsonPath": "result",
"content": "ADVERTISING_APPBUNDLEID"
},
"ADVERTISING_CONFIG_COPPA_AS_ZERO": {
"method": "advertising.config",
"validationJsonPath": "result.coppa",
"content": "ADVERTISING_CONFIG_ZERO"
},
"ADVERTISING_CONFIG_COPPA_AS_ONE": {
"method": "advertising.config",
"validationJsonPath": "result.coppa",
"content": "ADVERTISING_CONFIG_ONE"
},
"INVALID_PARAMETER_ERROR_ADVERTISING_CONFIG": {
"method": "advertising.config",
"validationJsonPath": "result",
"content": "INVALID_PARAMS",
"expectingError": true
},
"ADVERTISING_SKIPRESTRICTION": {
"method": "advertising.setSkipRestriction",
"validationJsonPath": "result",
"content": "ADVERTISING_SKIPRESTRICTION"
},
"INVALID_PARAMETER_FOR_ADVERTISING_ADVERTISINGID": {
"method": "advertising.advertisingId",
"validationJsonPath": "result",
"content": "INVALID_PARAMS",
"expectingError": true
},
"ADVERTISING_CONFIG": {
"method": "advertising.config",
"validationJsonPath": "result",
"content": "ADVERTISING_CONFIGURATION"
},
"LIMITADTRACKING_OFF_FOR_ADVERTISINGID": {
"method": "advertising.advertisingId",
"validationJsonPath": "result",
"content": "ADVERTISING_ADVERTISINGID_ADOFF"
},
"LIMITADTRACKING_ON_FOR_ADVERTISINGID": {
"method": "advertising.advertisingId",
"validationJsonPath": "result",
"content": "ADVERTISING_ADVERTISINGID_ADON"
},
"RESET_IDENTIFIER_FOR_ADVERTISING": {
"method": "manage_advertising.resetIdentifier"
},
"NULL_FOR_ADVERTISING_RESETIDENTIFIER": {
"method": "advertising.resetIdentifier",
"validationJsonPath": "result",
Expand Down Expand Up @@ -300,52 +137,6 @@
"content": "INVALID_PARAMS",
"expectingError": true
},
"GET_ADVERTISINGID_WITHOUT_SCOPE": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITHOUT_SCOPE"
},
"GET_ADVERTISINGID_WITH_SCOPE_ID_AS_RANDOM_STRING": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITH_RANDOM_STRING_SCOPE_ID"
},
"GET_ADVERTISINGID_WITH_SCOPE_ID_AS_EMPTY_STRING": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITH_EMPTY_STRING_SCOPE_ID"
},
"GET_ADVERTISINGID_WITH_INVALID_SCOPE_TYPE": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_SCOPE_TYPE_INVALID_STRING",
"expected": "error"
},
"GET_ADVERTISINGID_WITHOUT_SCOPE_TYPE_AND_ID": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITHOUT_SCOPE_TYPE_ID",
"expected": "error"
},
"GET_ADVERTISINGID_WITHOUT_SCOPE_ID": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITHOUT_SCOPE_ID",
"expected": "error"
},
"GET_ADVERTISINGID_WITHOUT_SCOPE_TYPE": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITHOUT_SCOPE_TYPE",
"expected": "error"
},
"GET_ADVERTISINGID_WITH_INVALID_SCOPE": {
"method": "advertising.advertisingId",
"params": "ADVERTISING_ADVERTISINGID_WITHOUT_SCOPE_TYPE",
"expected": "error"
},
"SET_TRUE_FOR_ALLOWAPPCONTENTADTARGETING": {
"method": "manage_privacy.setAllowAppContentAdTargeting",
"params": "TRUE"
},
"ONADVERTISINGPOLICYCHANGED": {
"event": "advertising.onPolicyChanged",
"validationJsonPath": "eventResponse",
"content": "NULL"
},
"EXPECT_ERROR_FOR_ADVERTISING_POLICY": {
"method": "advertising.policy",
"expected": "error"
Expand Down
Loading

0 comments on commit 8d7e51d

Please sign in to comment.