From 8d7e51df8d63d998ab881f60fb53581705a11304 Mon Sep 17 00:00:00 2001 From: anjali <47880722+anjalimukundan@users.noreply.github.com> Date: Mon, 16 Dec 2024 11:47:10 +0530 Subject: [PATCH] feat: remove obsolete json data (#277) --- cypress/fixtures/fireboltCalls/account.json | 62 -- .../fixtures/fireboltCalls/advertising.json | 209 ---- .../fireboltCalls/authentication.json | 67 -- .../fixtures/fireboltCalls/capabilities.js | 5 - .../fixtures/fireboltCalls/capabilities.json | 948 ------------------ cypress/fixtures/fireboltCalls/device.json | 288 ------ cypress/fixtures/fireboltCalls/discovery.json | 340 ------- cypress/fixtures/fireboltCalls/hdmiinput.json | 381 ------- .../fixtures/fireboltCalls/localization.js | 5 + .../fixtures/fireboltCalls/localization.json | 233 ----- cypress/fixtures/fireboltCalls/metrics.json | 653 ------------ .../fixtures/fireboltCalls/parameters.json | 26 - cypress/fixtures/fireboltCalls/privacy.json | 36 - .../fixtures/fireboltCalls/secondscreen.json | 91 -- .../fixtures/fireboltCalls/securestorage.json | 707 ------------- cypress/fixtures/fireboltCalls/wifi.json | 41 - cypress/fixtures/modules/advertising.json | 19 +- cypress/fixtures/modules/authentication.json | 2 - cypress/fixtures/modules/capabilities.json | 86 -- .../objects/validationObjects/account.json | 30 - 20 files changed, 6 insertions(+), 4223 deletions(-) delete mode 100644 cypress/fixtures/objects/validationObjects/account.json diff --git a/cypress/fixtures/fireboltCalls/account.json b/cypress/fixtures/fireboltCalls/account.json index f59ac87b2..06bc43f3e 100644 --- a/cypress/fixtures/fireboltCalls/account.json +++ b/cypress/fixtures/fireboltCalls/account.json @@ -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" diff --git a/cypress/fixtures/fireboltCalls/advertising.json b/cypress/fixtures/fireboltCalls/advertising.json index 30b4b13a8..9b759d9f1 100644 --- a/cypress/fixtures/fireboltCalls/advertising.json +++ b/cypress/fixtures/fireboltCalls/advertising.json @@ -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" @@ -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", @@ -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", @@ -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" diff --git a/cypress/fixtures/fireboltCalls/authentication.json b/cypress/fixtures/fireboltCalls/authentication.json index f67b4820d..6bda639bd 100644 --- a/cypress/fixtures/fireboltCalls/authentication.json +++ b/cypress/fixtures/fireboltCalls/authentication.json @@ -1,8 +1,4 @@ { - "GET_THE_AUTHENTICATION_TOKEN_FOR_PLATFORM": { - "method": "authentication.token", - "params": "AUTHENTICATION_PLATFORM" - }, "GET_THE_AUTHENTICATION_TOKEN_FOR_DEVICE": { "method": "authentication.token", "params": "AUTHENTICATION_DEVICE" @@ -11,69 +7,6 @@ "method": "authentication.token", "params": "AUTHENTICATION_DISTRIBUTOR" }, - "GET_THE_AUTHENTICATION_TOKEN_FOR_DISTRIBUTOR_CIMA": { - "method": "authentication.token", - "params": "AUTHENTICATION_DISTRIBUTOR_CIMA" - }, - "GET_THE_AUTHENTICATION_TOKEN_FOR_DISTRIBUTOR_OAT": { - "method": "authentication.token", - "params": "AUTHENTICATION_DISTRIBUTOR_OAT" - }, - "FETCH_DEVICE_TOKEN": { - "method": "authentication.device" - }, - "FETCH_SESSION_TOKEN": { - "method": "authentication.session" - }, - "FETCH_ROOT_TOKEN": { - "method": "authentication.root" - }, - "GET_TOKEN_WITH_PLATFORM1_PARAMETER": { - "method": "authentication.token", - "params": "AUTHENTICATION_PLATFORM1", - "expected": "error" - }, - "GET_TOKEN_WITH_TRUE_PARAMETER": { - "method": "authentication.token", - "params": "TRUE", - "expected": "error" - }, - "GET_TOKEN_WITH_INTEGER_PARAMETER": { - "method": "authentication.token", - "params": "INTEGER123", - "expected": "error" - }, - "PLATFORM_AUTHENTICATION_TOKEN": { - "method": "authentication.token", - "validationJsonPath": "result", - "content": "AUTHENTICATION_DECODE_JWT_AUTHENTICATION_TOKEN" - }, - "DECODE_BASE64_AUTHENTICATION_TOKEN": { - "method": "authentication.token", - "validationJsonPath": "result", - "content": "AUTHENTICATION_DECODE_BASE64_AUTHENTICATION_TOKEN" - }, - "AUTHENTICATION_DEVICE": { - "method": "authentication.device", - "validationJsonPath": "result", - "content": "AUTHENTICATION_DECODE_BASE64_AUTHENTICATION_DEVICE_TOKEN" - }, - "AUTHENTICATION_SESSION": { - "method": "authentication.session", - "validationJsonPath": "result", - "content": "AUTHENTICATION_DECODE_BASE64_AUTHENTICATION_SESSION_TOKEN" - }, - "AUTHENTICATION_ROOT": { - "method": "authentication.root", - "validationJsonPath": "result", - "content": "AUTHENTICATION_DECODE_BASE64_AUTHENTICATION_ROOT_TOKEN" - }, - "INVALID_PARAMETER_ERROR_AUTHENTICATION_TOKEN": { - "method": "authentication.token", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "EXPECT_ERROR_FOR_DEVICE_TOKEN": { "method": "authentication.device", "expected": "error" diff --git a/cypress/fixtures/fireboltCalls/capabilities.js b/cypress/fixtures/fireboltCalls/capabilities.js index d92418bbf..41530a31d 100644 --- a/cypress/fixtures/fireboltCalls/capabilities.js +++ b/cypress/fixtures/fireboltCalls/capabilities.js @@ -877,10 +877,6 @@ exports.CHECK_IF_ACCOUNT_UID_CAPABILITY_IS_PERMITTED = { method: 'capabilities.permitted', params: this.CAPABILITIES_VARIABLES.CAPABILITIES.PERMITTED_ACCOUNT_UID_USE_ROLE_PARAM, }; -exports.GET_INFO_OF_DISCOVERY_SIGNINSTATUS_CAPABILITY = { - method: 'capabilities.info', - params: this.CAPABILITIES_VARIABLES.CAPABILITIES.INFO_DISCOVERY_SIGNINSTATUS, -}; exports.CHECK_IF_DISCOVERY_SIGNINSTATUS_CAPABILITY_IS_SUPPORTED = { method: 'capabilities.supported', params: this.CAPABILITIES_VARIABLES.CAPABILITIES.SUPPORTED_DISCOVERY_SIGNINSTATUS, @@ -1024,7 +1020,6 @@ exports.CHECK_IF_AUTHENTICATION_TOKEN_PLATFORM_CAPABILITY_IS_PERMITTED = { method: 'capabilities.permitted', params: this.CAPABILITIES_VARIABLES.CAPABILITIES.PERMITTED_TOKEN_PLATFORM_USE_ROLE_PARAM, }; - exports.GET_INFO_OF_AUTHENTICATION_TOKEN_ROOT_CAPABILITY = { method: 'capabilities.info', params: this.CAPABILITIES_VARIABLES.CAPABILITIES.INFO_TOKEN_ROOT, diff --git a/cypress/fixtures/fireboltCalls/capabilities.json b/cypress/fixtures/fireboltCalls/capabilities.json index 85b68ad64..ec35a9c40 100644 --- a/cypress/fixtures/fireboltCalls/capabilities.json +++ b/cypress/fixtures/fireboltCalls/capabilities.json @@ -17,28 +17,11 @@ "validationJsonPath": "result", "content": "CAPABILITIES_INFO" }, - "CHECK_AVAILABILITY_OF_KEYBOARD_CAPABILITY":{ - "method": "capabilities.available", - "params": "CAPABILITIES_GET_KEYBOARD" - }, "TRUE_FOR_KEYBOARD_CAPABILITY_AVAILABILITY":{ "method": "capabilities.available", "validationJsonPath": "result", "content": "TRUE" }, - "CHECK_AVAILABILITY_OF_ACKNOWLEDGECHALLENGE_CAPABILITY":{ - "method": "capabilities.available", - "params": "CAPABILITIES_GET_ACKNOWLEDGECHALLENGE" - }, - "TRUE_FOR_ACKNOWLEDGECHALLENGE_CAPABILITY_AVAILABILITY":{ - "method": "capabilities.available", - "validationJsonPath": "result", - "content": "TRUE" - }, - "CHECK_AVAILABILITY_OF_PINCHALLENGE_CAPABILITY":{ - "method": "capabilities.available", - "params": "CAPABILITIES_GET_PINCHALLENGE" - }, "TRUE_FOR_PINCHALLENGE_CAPABILITY_AVAILABILITY":{ "method": "capabilities.available", "validationJsonPath": "result", @@ -53,174 +36,6 @@ "validationJsonPath": "result", "content": "TRUE" }, - "CHECK_IF_CAPABILITY_IS_GRANTED_WITH_ROLE_AS_USE":{ - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_WITH_OPTIONS_ROLE_USE" - }, - "CHECK_IF_CAPABILITY_IS_GRANTED_WITH_ROLE_AS_MANAGE":{ - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_WITH_OPTIONS_ROLE_MANAGE" - }, - "CHECK_IF_CAPABILITY_IS_GRANTED_WITH_ROLE_AS_PROVIDE":{ - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_WITH_OPTIONS_ROLE_PROVIDE" - }, - "GET_INFO_OF_USERGRANT_PINCHALLENGE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_USERGRANT_PINCHALLENGE" - }, - "GET_INFO_OF_DEVICE_DISTRIBUTOR_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_DISTRIBUTOR" - }, - "GET_INFO_OF_WIFI_NETWORKSTATUS_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_NETWORK_STATUS" - }, - "GET_INFO_OF_LOCALIZATION_TIMEZONE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_TIMEZONE" - }, - "GET_INFO_OF_PRIVACY_SETTINGS_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_PRIVACY_SETTINGS_INFO_PARAM" - }, - "GET_INFO_OF_WIFI_PROTOCOL_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_PROTOCOL_WIFI" - }, - "GET_INFO_OF_USERGRANT_ACKNOWLEDGECHALLENGE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_USERGRANT_ACKNOWLEDGECHALLENGE" - }, - "GET_INFO_OF_GRANTS_STATE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_GRANTS_STATE" - }, - "CHECK_IF_USERGRANT_PINCHALLENGE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_USERGRANT_PINCHALLENGE" - }, - "CHECK_IF_DEVICE_DISTRIBUTOR_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_DISTRIBUTOR" - }, - "CHECK_IF_WIFI_NETWORKSTATUS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_NETWORK_STATUS" - }, - "CHECK_IF_LOCALIZATION_TIMEZONE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_TIMEZONE" - }, - "CHECK_IF_PRIVACY_SETTINGS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_PRIVACY_SETTINGS" - }, - "CHECK_IF_WIFI_PROTOCOL_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_PROTOCOL_WIFI" - }, - "CHECK_IF_USERGRANT_ACKNOWLEDGECHALLENGE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_USERGRANT_ACKNOWLEDGECHALLENGE" - }, - "CHECK_IF_FOR_GRANTS_STATE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_GRANTS_STATE" - }, - "EXPECTED_VALUE_FOR_SUPPORTED_API":{ - "method": "capabilities.supported", - "validationJsonPath": "result", - "content": "CAPABILITIES_SUPPORTED" - }, - "EXPECTED_VALUE_FOR_INFO_API":{ - "method": "capabilities.info", - "validationJsonPath": "result", - "content": "CAPABILITIES_INFO" - }, - "EXPECTED_CAPABILITY_IS_REQUESTED":{ - "method": "capabilities.request", - "validationJsonPath": "result", - "content": "CAPABILITIES_REQUEST" - }, - "EXPECTED_VALUE_FOR_PERMITTED_API":{ - "method": "capabilities.permitted", - "validationJsonPath": "result", - "content": "CAPABILITIES_PERMITTED" - }, - "GET_INFO_OF_LIFECYCLE_READY_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LIFECYCLE_READY" - }, - "CHECK_IF_LIFECYCLE_READY_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LIFECYCLE_READY" - }, - "CHECK_IF_LIFECYCLE_READY_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LIFECYCLE_READY_USE_ROLE_PARAM" - }, - "GET_INFO_OF_LIFECYCLE_STATE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LIFECYCLE_STATE" - }, - "CHECK_IF_LIFECYCLE_STATE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LIFECYCLE_STATE" - }, - "CHECK_IF_LIFECYCLE_STATE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LIFECYCLE_STATE_USE_ROLE_PARAM" - }, - "GET_INFO_OF_LIFECYCLE_LAUNCH_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LIFECYCLE_LAUNCH" - }, - "CHECK_IF_LIFECYCLE_LAUNCH_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LIFECYCLE_LAUNCH" - }, - "CHECK_IF_LIFECYCLE_LAUNCH_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LIFECYCLE_LAUNCH_USE_ROLE_PARAM" - }, - "GET_INFO_OF_ADVERTISING_IDENTIFIER_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ADVERTISING_IDENTIFIER" - }, - "CHECK_IF_ADVERTISING_IDENTIFIER_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ADVERTISING_IDENTIFIER" - }, - "CHECK_IF_ADVERTISING_IDENTIFIER_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ADVERTISING_IDENTIFIER_USE_ROLE_PARAM" - }, - "GET_INFO_OF_ACCOUNT_ID_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ACCOUNT_ID" - }, - "CHECK_IF_ACCOUNT_ID_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ACCOUNT_ID" - }, - "CHECK_IF_ACCOUNT_ID_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCOUNT_ID_USE_ROLE_PARAM" - }, - "GET_INFO_OF_ACCOUNT_UID_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ACCOUNT_UID" - }, - "CHECK_IF_ACCOUNT_UID_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ACCOUNT_UID" - }, - "CHECK_IF_ACCOUNT_UID_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCOUNT_UID_USE_ROLE_PARAM" - }, "CHECK_IF_ACCOUNT_UID_CAPABILITY_IS_GRANTED_WITH_CONTEXT_ROLE_USE":{ "method": "capabilities.granted", "params": "CAPABILITIES_PERMITTED_ACCOUNT_UID_USE_ROLE_PARAM", @@ -272,473 +87,6 @@ "method": "capabilities.info", "params": "CAPABILITIES_INFO_DISCOVERY_SIGNINSTATUS" }, - "CHECK_IF_DISCOVERY_SIGNINSTATUS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_SIGNINSTATUS" - }, - "CHECK_IF_DISCOVERY_SIGNINSTATUS_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_SIGNINSTATUS_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_WATCHNEXT_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_WATCHNEXT" - }, - "CHECK_IF_DISCOVERY_WATCHNEXT_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_WATCHNEXT" - }, - "CHECK_IF_DISCOVERY_WATCHNEXT_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_WATCHNEXT_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_WATCHED_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_WATCHED" - }, - "CHECK_IF_DISCOVERY_WATCHED_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_WATCHED" - }, - "CHECK_IF_DISCOVERY_WATCHED_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_WATCHED_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_ENTITYINFO_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_ENTITYINFO" - }, - "CHECK_IF_DISCOVERY_ENTITYINFO_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_ENTITYINFO" - }, - "CHECK_IF_DISCOVERY_ENTITYINFO_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_ENTITYINFO_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_NAVIGATETO_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_NAVIGATETO" - }, - "CHECK_IF_DISCOVERY_NAVIGATETO_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_NAVIGATETO" - }, - "CHECK_IF_DISCOVERY_NAVIGATETO_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_NAVIGATETO_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_POLICY_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_POLICY" - }, - "CHECK_IF_DISCOVERY_POLICY_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_POLICY" - }, - "CHECK_IF_DISCOVERY_POLICY_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_POLICY_USE_ROLE_PARAM" - }, - "GET_INFO_OF_DISCOVERY_PURCHASEDCONTENT_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DISCOVERY_PURCHASED_CONTENT" - }, - "CHECK_IF_DISCOVERY_PURCHASEDCONTENT_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_PURCHASED_CONTENT" - }, - "CHECK_IF_DISCOVERY_PURCHASEDCONTENT_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_PURCHASED_CONTENT_USE_ROLE_PARAM" - }, - "GET_INFO_OF_KEYBOARD_INPUT_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_INPUT_KEYBOARD" - }, - "CHECK_IF_KEYBOARD_INPUT_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_INPUT_KEYBOARD" - }, - "CHECK_IF_KEYBOARD_INPUT_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_INPUT_KEYBOARD_USE_ROLE_PARAM" - }, - "GET_INFO_OF_LOCALIZATION_LOCATION_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_LOCATION" - }, - "CHECK_IF_LOCALIZATION_LOCATION_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_LOCATION" - }, - "CHECK_IF_LOCALIZATION_LOCATION_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_LOCATION_USE_ROLE_PARAM" - }, - "GET_INFO_OF_PROTOCOLDIAL_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_PROTOCOL_DIAL" - }, - "CHECK_IF_PROTOCOLDIAL_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_PROTOCOL_DIAL" - }, - "CHECK_IF_PROTOCOLDIAL_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_PROTOCOL_DIAL_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_AUTHENTICATION_TOKEN_DEVICE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_TOKEN_DEVICE" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_DEVICE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_TOKEN_DEVICE" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_DEVICE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_DEVICE_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_AUTHENTICATION_TOKEN_PLATFORM_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_TOKEN_PLATFORM" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_PLATFORM_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_TOKEN_PLATFORM" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_PLATFORM_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_PLATFORM_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_AUTHENTICATION_TOKEN_ROOT_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_TOKEN_ROOT" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_ROOT_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_TOKEN_ROOT" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_ROOT_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_ROOT_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_APPROVECONTENT_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_APPROVE_CONTENT" - }, - "CHECK_IF_APPROVECONTENT_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_APPROVE_CONTENT" - }, - "CHECK_IF_APPROVECONTENT_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_APPROVE_CONTENT_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_PROFILE_APPROVEPURCHASE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_APPROVE_PURCHASE" - }, - "CHECK_IF_PROFILE_APPROVEPURCHASE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_APPROVE_PURCHASE" - }, - "CHECK_IF_PROFILE_APPROVEPURCHASE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_APPROVE_PURCHASE_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_PROFILE_FLAGS_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_PROFILE_FLAGS" - }, - "CHECK_IF_PROFILE_FLAGS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_PROFILE_FLAGS" - }, - "CHECK_IF_PROFILE_FLAGS_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_PROFILE_FLAGS_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_DEVICE_ID_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_ID" - }, - "CHECK_IF_DEVICE_ID_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_ID" - }, - "CHECK_IF_DEVICE_ID_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_ID_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_DEVICE_INFO_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_INFO" - }, - "CHECK_IF_DEVICE_INFO_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_INFO" - }, - "CHECK_IF_DEVICE_INFO_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_INFO_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_DEVICE_MAKE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_MAKE" - }, - "CHECK_IF_DEVICE_MAKE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_MAKE" - }, - "CHECK_IF_DEVICE_MAKE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_MAKE_USE_ROLE_PARAM" - }, - - - "GET_INFO_OF_DEVICE_MODEL_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_MODEL" - }, - "CHECK_IF_DEVICE_MODEL_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_MODEL" - }, - "CHECK_IF_DEVICE_MODEL_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_MODEL_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_DEVICE_SKU_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_SKU" - }, - "CHECK_IF_DEVICE_SKU_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_SKU" - }, - "CHECK_IF_DEVICE_SKU_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_SKU_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_DEVICE_UID_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_UID" - }, - "CHECK_IF_DEVICE_UID_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_UID" - }, - "CHECK_IF_DEVICE_UID_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_UID_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_METRICS_GENERAL_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_METRICS_GENERAL" - }, - "CHECK_IF_METRICS_GENERAL_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_METRICS_GENERAL" - }, - "CHECK_IF_METRICS_GENERAL_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_METRICS_GENERAL_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_METRICS_MEDIA_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_METRICS_MEDIA" - }, - "CHECK_IF_METRICS_MEDIA_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_METRICS_MEDIA" - }, - "CHECK_IF_METRICS_MEDIA_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_METRICS_MEDIA_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_PRIVACY_ADVERTISING_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_PRIVACY_ADVERTISING" - }, - "CHECK_IF_PRIVACY_ADVERTISING_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_PRIVACY_ADVERTISING" - }, - "CHECK_IF_PRIVACY_ADVERTISING_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_PRIVACY_ADVERTISING_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_ADVERTISING_CONFIGURATION_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ADVERTISING_CONFIGURATION" - }, - "CHECK_IF_ADVERTISING_CONFIGURATION_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ADVERTISING_CONFIGURATION" - }, - "CHECK_IF_ADVERTISING_CONFIGURATION_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ADVERTISING_CONFIGURATION" - }, - - "GET_INFO_OF_LOCALIZATION_LOCALITY_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_LOCALITY" - }, - "CHECK_IF_LOCALIZATION_LOCALITY_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_LOCALITY" - }, - "CHECK_IF_LOCALIZATION_LOCALITY_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_LOCALITY" - }, - - "GET_INFO_OF_LOCALIZATION_POSTALCODE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_POSTALCODE" - }, - "CHECK_IF_LOCALIZATION_POSTALCODE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_POSTALCODE" - }, - "CHECK_IF_LOCALIZATION_POSTALCODE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_POSTALCODE" - }, - - "GET_INFO_OF_LOCALIZATION_COUNTRYCODE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_COUNTRYCODE" - }, - "CHECK_IF_LOCALIZATION_COUNTRYCODE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_COUNTRYCODE" - }, - "CHECK_IF_LOCALIZATION_COUNTRYCODE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_COUNTRYCODE" - }, - - "GET_INFO_OF_LOCALIZATION_LANGUAGE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_LANGUAGE" - }, - "CHECK_IF_LOCALIZATION_LANGUAGE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_LANGUAGE" - }, - "CHECK_IF_LOCALIZATION_LANGUAGE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_LANGUAGE" - }, - - "GET_INFO_OF_LOCALIZATION_LOCALE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_LOCALIZATION_LOCALE" - }, - "CHECK_IF_LOCALIZATION_LOCALE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_LOCALIZATION_LOCALE" - }, - "CHECK_IF_LOCALIZATION_LOCALE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LOCALIZATION_LOCALE" - }, - - "GET_INFO_OF_ACCESSIBILITY_CLOSEDCAPTIONS_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ACCESSIBILITY_CLOSEDCAPTIONS" - }, - "CHECK_IF_ACCESSIBILITY_CLOSEDCAPTIONS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ACCESSIBILITY_CLOSEDCAPTIONS" - }, - "CHECK_IF_ACCESSIBILITY_CLOSEDCAPTIONS_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCESSIBILITY_CLOSEDCAPTIONS" - }, - - "GET_INFO_OF_ACCESSIBILITY_VOICEGUIDANCE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_ACCESSIBILITY_VOICEGUIDANCE" - }, - "CHECK_IF_ACCESSIBILITY_VOICEGUIDANCE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_ACCESSIBILITY_VOICEGUIDANCE" - }, - "CHECK_IF_ACCESSIBILITY_VOICEGUIDANCE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCESSIBILITY_VOICEGUIDANCE" - }, - - "GET_INFO_OF_DEVICE_NAME_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_DEVICE_NAME" - }, - "CHECK_IF_DEVICE_NAME_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DEVICE_NAME" - }, - "CHECK_IF_DEVICE_NAME_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_NAME" - }, - "GET_INFO_OF_AUTHENTICATION_TOKEN_SESSION_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_TOKEN_SESSION" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_SESSION_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_TOKEN_SESSION" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_SESSION_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_SESSION_USE_ROLE_PARAM" - }, - "GET_INFO_OF_SECURE_STORAGE_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_SECURE_STORAGE_INFO_PARAM" - }, - "CHECK_IF_SECURE_STORAGE_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_SECURE_STORAGE" - }, - "CHECK_IF_SECURE_STORAGE_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_SECURE_STORAGE_USE_ROLE_PARAM" - }, - - "GET_INFO_OF_CAPABILITY_INFO_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_CAPABILITY_INFO_INFO_PARAM" - }, - "CHECK_IF_CAPABILITY_INFO_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_CAPABILITY_INFO" - }, - "CHECK_IF_CAPABILITY_INFO_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_CAPABILITY_INFO_USE_ROLE_PARAM" - }, - "GET_INFO_OF_CAPABILITIES_FOR_CAPABILITY_REQUEST":{ "method": "capabilities.info", "params": "CAPABILITIES_CAPABILITY_REQUEST_INFO_PARAM" @@ -751,83 +99,6 @@ "method": "capabilities.permitted", "params": "CAPABILITIES_PERMITTED_CAPABILITY_REQUEST_USE_ROLE_PARAM" }, - - "GET_INFO_OF_DISCOVERY_CONTENTACCESS_CAPABILITY":{ - "method": "capabilities.info", - "params": "CAPABILITIES_DISCOVERY_CONTENTACCESS_INFO_PARAM" - }, - "CHECK_IF_DISCOVERY_CONTENTACCESS_CAPABILITY_IS_SUPPORTED":{ - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_DISCOVERY_CONTENTACCESS" - }, - "CHECK_IF_DISCOVERY_CONTENTACCESS_CAPABILITY_IS_PERMITTED":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_CONTENTACCESS_USE_ROLE_PARAM" - }, - "CHECK_IF_DISCOVERY_ENTITLEMENTS_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE": { - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_ENTITLE_USE_ROLE_PARAM" - }, - "CHECK_IF_DISCOVERY_WATCHNEXT_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_WATCHNEXT_USE_ROLE_PARAM" - }, - "CHECK_IF_DISCOVERY_WATCHED_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DISCOVERY_WATCHED_USE_ROLE_PARAM" - }, - "GET_INFO_OF_CAPABILITIES_WITH_INVALID_CATEGORY": { - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_INVALID_CATEGORY", - "expected": "error" - }, - "GET_INFO_OF_CAPABILITIES_WITH_EMPTY_PARAM": { - "method": "capabilities.info", - "expected": "error" - }, - "GET_INFO_OF_CAPABILITIES_WITH_EMPTY_CAPABILITIES": { - "method": "capabilities.info", - "params": "CAPABILITIES_INFO_EMPTY_CAPABILITIES", - "expected": "error" - }, - "GET_PERMITTED_CAPABILITIES_WITH_INVALID_ROLE": { - "method": "capabilities.permitted", - "params": "CAPABILITIES_WIFI_INVALID_ROLE_PARAM", - "expected": "error" - }, - "GET_PERMITTED_CAPABILITIES_WITH_INVALID_CAPABILITY": { - "method": "capabilities.permitted", - "params": "CAPABILITIES_INVALID_CAPABILITY", - "expected": "error" - }, - "CHECK_AVAILABILITY_OF_CAPABILITIES_WITH_INVALID_CAPABILITY": { - "method": "capabilities.available", - "params": "CAPABILITIES_KEYBOARD_INVALID_CAPABILITY", - "expected": "error" - }, - "CHECK_AVAILABILITY_OF_CAPABILITIES_WITH_EMPTY_PARAM": { - "method": "capabilities.available", - "expected": "error" - }, - "GET_SUPPORTED_CAPABILITIES_WITH_EMPTY_PARAM": { - "method": "capabilities.supported", - "expected": "error" - }, - "GET_SUPPORTED_CAPABILITIES_MULTIPLE_CAPABILITY": { - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_MULTIPLE_CAPABILITY", - "expected": "error" - }, - "GET_SUPPORTED_CAPABILITIES_INVALID_CAPABILITY": { - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_INVALID_CAPABILITY", - "expected": "error" - }, - "CAPABILITIES_REQUEST_WITH_INVALID_ROLE": { - "method": "capabilities.request", - "params": "CAPABILITIES_REQUEST_INVALID_ROLE", - "expected": "error" - }, "CAPABILITIES_REQUEST_WITH_NULL_ROLE": { "method": "capabilities.request", "params": "CAPABILITIES_REQUEST_NULL_ROLE", @@ -882,100 +153,6 @@ "params": "CAPABILITIES_GRANTED_WITHOUT_CAPABILITY", "expected": "error" }, - "GET_GRANTED_CAPABILITIES_WITH_NULL_CAPABILITY": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_RANDOM_STRING_CAPABILITY", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_RANDOM_STRING_CAPABILITY": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_NULL_CAPABILITY", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_NUMBER_CAPABILITY": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_NUMBER_CAPABILITY", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_BOOLEAN_CAPABILITY": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_BOOLEAN_CAPABILITY", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_ARRAY_CAPABILITY": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_ARRAY_CAPABILITY", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_STRING_OPTIONS": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_STRING_OPTIONS", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_NUMBER_OPTIONS": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_NUMBER_OPTIONS", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_BOOLEAN_OPTIONS": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_BOOLEAN_OPTIONS", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_ARRAY_OPTIONS": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_ARRAY_OPTIONS", - "expected": "error" - }, - "CAPABILITIES_GRANTED_WITH_INVALID_OPTIONS_ROLE": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_INVALID_OPTIONS_ROLE", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_INVALID_OPTIONS_NULL_ROLE": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_INVALID_OPTIONS_NULL_ROLE", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_INVALID_OPTIONS_NUMBER_ROLE": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_INVALID_OPTIONS_NUMBER_ROLE", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_INVALID_OPTIONS_BOOLEAN_ROLE": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_INVALID_OPTIONS_BOOLEAN_ROLE", - "expected": "error" - }, - "GET_GRANTED_CAPABILITIES_WITH_INVALID_OPTIONS_ARRAY_ROLE": { - "method": "capabilities.granted", - "params": "CAPABILITIES_GRANTED_INVALID_OPTIONS_ARRAY_ROLE", - "expected": "error" - }, - "INVALID_PARAMS_FOR_CAPABILITIES_INFO": { - "method": "capabilities.info", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "CUSTOM_ERROR_FOR_CAPABILITIES_INFO": { - "method": "capabilities.info", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_CAPABILITIES_PERMITTED": { - "method": "capabilities.permitted", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_CAPABILITIES_AVAILABLE": { - "method": "capabilities.available", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "INVALID_PARAMS_FOR_CAPABILITIES_SUPPORTED": { "method": "capabilities.supported", "validationJsonPath": "result", @@ -988,29 +165,6 @@ "content": "INVALID_PARAMS", "expectingError": true }, - "INVALID_PARAMS_FOR_CAPABILITIES_GRANTED": { - "method": "capabilities.granted", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "CHECK_IF_LIFECYCLE_READY_CAPABILITY_EXPECTING_ERROR": { - "method": "lifecycle.ready", - "params": "CAPABILITIES_PERMITTED_LIFECYCLE_READY_USE_ROLE_PARAM", - "expected": "error" - }, - "CHECK_IF_LIFECYCLE_STATE_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_LIFECYCLE_STATE_USE_ROLE_PARAM" - }, - "CHECK_IF_ACCOUNT_ID_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCOUNT_ID_USE_ROLE_PARAM" - }, - "CHECK_IF_ACCOUNT_UID_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_ACCOUNT_UID_USE_ROLE_PARAM" - }, "FALSE_FOR_CAPABLITIES_REQUEST_GRANTED": { "method": "capabilities.request", "event": null, @@ -1073,108 +227,6 @@ "validationJsonPath": "result", "content": "FALSE" }, - "GET_INFO_OF_CAPABILITY_REQUEST_CAPABILITY": { - "method": "capabilities.info", - "params": "CAPABILITIES_REQUEST_INFO_PARAM" - }, - "GET_CAPABILITYINFO_OF_REQUEST_CAPABILITY": { - "method": "capabilities.request", - "params": "CAPABILITIES_REQUEST_CAPABILITY_REQUEST" - }, - "CHECK_IF_CAPABILITY_REQUEST_CAPABILITY_IS_PERMITTED": { - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_CAPABILITY_REQUEST_USE_ROLE_PARAM" - }, - "CHECK_IF_CAPABILITY_REQUEST_CAPABILITY_IS_SUPPORTED": { - "method": "capabilities.supported", - "params": "CAPABILITIES_SUPPORTED_CAPABILITY_REQUEST" - }, - "GET_CAPABILITY_INFO":{ - "method": "capabilities.info", - "params": "CYPRESSENV-capabilitiesList" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_DEVICE_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_DEVICE_USE_ROLE_PARAM" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_PLATFORM_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_PLATFORM_USE_ROLE_PARAM" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_ROOT_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_ROOT_USE_ROLE_PARAM" - }, - "CHECK_IF_AUTHENTICATION_TOKEN_SESSION_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_TOKEN_SESSION_USE_ROLE_PARAM" - }, - "CHECK_IF_DEVICE_MAKE_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_MAKE_USE_ROLE_PARAM" - }, - "CHECK_IF_DEVICE_MODEL_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_MODEL_USE_ROLE_PARAM" - }, - "CHECK_IF_DEVICE_SKU_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_SKU_USE_ROLE_PARAM" - }, - "CHECK_IF_DEVICE_UID_CAPABILITY_IS_PERMITTED_WITH_ROLE_USE":{ - "method": "capabilities.permitted", - "params": "CAPABILITIES_PERMITTED_DEVICE_UID_USE_ROLE_PARAM" - }, - "CAPABILITIES_ONAVAILABLE": { - "method": "capabilities.onAvailable", - "params": "CAPABILITIES_ONAVAILBLE_KEYBOARD" - }, - "EXPECTED_VALUE_FOR_CAPABILITIES_ONAVAILABLE": { - "event": "capabilities.onAvailable", - "validationJsonPath": "eventResponse", - "content": "CAPABILITIES_ONAVAILABLE" - }, - "FALSE_FOR_KEYBOARD_CAPABILITY_AVAILABILITY":{ - "method": "capabilities.available", - "validationJsonPath": "result", - "content": "FALSE" - }, - "CAPABILITIES_ONUNAVAILABLE": { - "method": "capabilities.onUnavailable", - "params": "CAPABILITIES_ONUNAVAILBLE_KEYBOARD" - }, - "EXPECTED_VALUE_FOR_CAPABILITIES_ONUNAVAILABLE": { - "event": "capabilities.onUnavailable", - "validationJsonPath": "eventResponse", - "content": "CAPABILITIES_ONUNAVAILABLE" - }, - "CAPABILITIES_ONGRANTED": { - "method": "capabilities.onGranted", - "params": "CAPABILITIES_ONGRANTED_DEVICE_ID_ROLE_USE" - }, - "CHECK_IF_DEVICE_ID_CAPABILITY_IS_GRANTED":{ - "method": "capabilities.granted", - "params": "USERGRANTS_DEVICE_ID" - }, - "FALSE_FOR_GRANTED_CAPABILITY_WITH_PASSED_ROLE":{ - "method": "capabilities.granted", - "validationJsonPath": "result", - "content": "FALSE" - }, - "CAPABILITIES_ONREVOKED": { - "method": "capabilities.onRevoked", - "params": "CAPABILITIES_ONREVOKED_DEVICE_ID_ROLE_USE" - }, - "EXPECTED_VALUE_FOR_CAPABILITIES_ONGRANTED": { - "event": "capabilities.onGranted", - "validationJsonPath": "eventResponse", - "content": "CAPABILITIES_ONGRANTED" - }, - "EXPECTED_VALUE_FOR_CAPABILITIES_ONREVOKED": { - "event": "capabilities.onRevoked", - "validationJsonPath": "eventResponse", - "content": "CAPABILITIES_ONREVOKED" - }, "EXPECTED_VALUE_FOR_CAPABILITY_REQUEST":{ "method": "capabilities.request", "validationJsonPath": "result", diff --git a/cypress/fixtures/fireboltCalls/device.json b/cypress/fixtures/fireboltCalls/device.json index a80ae5a3a..78720c5cd 100644 --- a/cypress/fixtures/fireboltCalls/device.json +++ b/cypress/fixtures/fireboltCalls/device.json @@ -1,90 +1,14 @@ { - "FETCH_DEVICE_ID": { - "method": "device.id" - }, - "FETCH_DEVICE_DISTRIBUTOR": { - "method": "device.distributor" - }, - "FETCH_DEVICE_PLATFORM": { - "method": "device.platform" - }, - "FETCH_DEVICE_UID": { - "method": "device.uid" - }, - "FETCH_DEVICE_TYPE": { - "method": "device.type" - }, - "FETCH_DEVICE_MODEL": { - "method": "device.model" - }, - "FETCH_DEVICE_SKU": { - "method": "device.sku" - }, - "FETCH_DEVICE_MAKE": { - "method": "device.make" - }, - "EXPECTED_DEVICE_ID": { - "method": "device.id", - "validationJsonPath": "result", - "content": "DEVICE_ID" - }, - "EXPECTED_DEVICE_DISTRIBUTOR": { - "method": "device.distributor", - "validationJsonPath": "result", - "content": "DEVICE_DISTRIBUTOR" - }, - "EXPECTED_DEVICE_PLATFORM": { - "method": "device.platform", - "validationJsonPath": "result", - "content": "DEVICE_PLATFORM" - }, - "EXPECTED_DEVICE_UID": { - "method": "device.uid", - "validationJsonPath": "result", - "content": "DEVICE_UID" - }, - "EXPECTED_DEVICE_TYPE": { - "method": "device.type", - "validationJsonPath": "result", - "content": "DEVICE_TYPE" - }, - "EXPECTED_DEVICE_MODEL": { - "method": "device.model", - "validationJsonPath": "result", - "content": "DEVICE_MODEL" - }, "INVALID_REQUEST_FOR_DEVICE_MODEL": { "method": "device.model", "validationJsonPath": "result", "content": "INVALID_PARAMS", "expectingError": true }, - "EXPECTED_DEVICE_SKU": { - "method": "device.sku", - "validationJsonPath": "result", - "content": "DEVICE_SKU" - }, - "EXPECTED_DEVICE_MAKE": { - "method": "device.make", - "validationJsonPath": "result", - "content": "DEVICE_MAKE" - }, - "EXPECTED_DEVICE_VERSION": { - "method": "device.version", - "validationJsonPath": "result", - "content": "DEVICE_VERSION" - }, - "DEVICE_ONNAMECHANGED": { - "method": "device.onNameChanged" - }, "SET_DEVICE_NAME_TO_LIVING_HALL": { "method": "manage_device.setName", "params": "Living hall" }, - "SET_DEVICE_NAME_TO_LIVING_ROOM": { - "method": "manage_device.setName", - "params": "Living Room" - }, "GET_DEVICE_NAME": { "method": "device.name" }, @@ -100,49 +24,6 @@ "content": "Living hall", "expectingError": false }, - "FETCH_DEVICE_VERSION": { - "method": "device.version" - }, - "FETCH_HDCP": { - "method": "device.hdcp" - }, - "FETCH_HDR": { - "method": "device.hdr" - }, - "FETCH_SCREENRESOLUTION": { - "method": "device.screenResolution" - }, - "FETCH_VIDEORESOLUTION": { - "method": "device.videoResolution" - }, - "FETCH_AUDIO": { - "method": "device.audio" - }, - "EXPECTED_HDCP": { - "method": "device.hdcp", - "validationJsonPath": "result", - "content": "DEVICE_HDCP" - }, - "EXPECTED_HDR": { - "method": "device.hdr", - "validationJsonPath": "result", - "content": "DEVICE_HDR" - }, - "EXPECTED_SCREENRESOLUTION": { - "method": "device.screenResolution", - "validationJsonPath": "result", - "content": "DEVICE_SCREENRESOLUTION" - }, - "EXPECTED_VIDEORESOLUTION": { - "method": "device.videoResolution", - "validationJsonPath": "result", - "content": "DEVICE_VIDEORESOLUTION" - }, - "EXPECTED_AUDIO": { - "method": "device.audio", - "validationJsonPath": "result", - "content": "DEVICE_AUDIO" - }, "SET_DEVICE_NAME_TO_BEDROOM": { "method": "manage_device.setName", "params": "Bedroom" @@ -160,45 +41,11 @@ "validationJsonPath": "eventResponse", "content": "DEVICE_BEDROOM_NAME" }, - "PROVISION_DEVICE_WITH_DEFAULT_VALUES": { - "method": "manage_device.provision", - "params": "DEVICE_PROVISION_DEFAULT_VALUES" - }, "DEFAULT_VALUES_FOR_DEVICE_PROVISION": { "method": "device.provision", "validationJsonPath": "result", "content": "DEVICE_PROVISION_DEFAULT_CONTENT" }, - "PROVISION_DEVICE_WITH_DISTRIBUTOR_ID": { - "method": "manage_device.provision", - "params": "DEVICE_PROVISION_WITH_DISTRIBUTOR_ID" - }, - "DISTRIBUTOR_ID_FOR_DEVICE_PROVISION": { - "method": "device.provision", - "validationJsonPath": "result", - "content": "DEVICE_PROVISION_WITH_DISTRIBUTOR_ID_CONTENT" - }, - "GET_DEVICE_ID": { - "method": "device.id" - }, - "GET_ACCOUNT_ID": { - "method": "account.id" - }, - "EXPECTED_PROVISION_DEVICE_ID": { - "method": "device.id", - "validationJsonPath": "result", - "content": "DEVICE_PROVISION_DEVICE_ID" - }, - "EXPECTED_PROVISION_ACCOUNT_ID": { - "method": "account.id", - "validationJsonPath": "result", - "content": "DEVICE_PROVISION_ACCOUNT_ID" - }, - "DEFAULT_VALUE_FOR_DEVICE_PROVISION": { - "method": "device.provision", - "validationJsonPath": "result", - "content": "DEVICE_PROVISION_DEFAULT_CONTENT" - }, "EXPECT_ERROR_FOR_DEVICE_DISTRIBUTOR": { "method": "device.distributor", "expected": "error" @@ -230,37 +77,6 @@ "content": "INVALID_PARAMS", "expectingError": true }, - "INVALID_PARAMETERS_FOR_DEVICE_PROVISION": { - "method": "device.provision", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "PROVISION_DEVICE_WITH_INTEGER": { - "method": "manage_device.provision", - "params": "INTEGER123", - "expected": "error" - }, - "PROVISION_DEVICE_WITH_BOOLEAN": { - "method": "manage_device.provision", - "params": "TRUE", - "expected": "error" - }, - "PROVISION_DEVICE_WITHOUT_DEVICEID": { - "method": "manage_device.provision", - "params": "DEVICE_PROVISION_WITHOUT_DEVICEID", - "expected": "error" - }, - "PROVISION_DEVICE_WITH_EMPTY_PARAMS": { - "method": "manage_device.provision", - "params": "DEVICE_PROVISION_EMPTY_PARAMS", - "expected": "error" - }, - "PROVISION_DEVICE_WITHOUT_ACCOUNTID": { - "method": "manage_device.provision", - "params": "DEVICE_PROVISION_WITHOUT_ACCOUNTID", - "expected": "error" - }, "SET_DEVICE_NAME_WITHOUT_PARAMETERS": { "method": "manage_device.setName" }, @@ -270,92 +86,12 @@ "content": "Bedroom", "expectingError": false }, - "SET_DEVICE_NAME_TO_KITCHEN": { - "method": "manage_device.setName", - "params": "Kitchen" - }, - "ONDEVICENAMECHANGED": { - "event": "device.onNameChanged", - "validationJsonPath": "eventResponse", - "content": "NULL", - "expectingError": false - }, - "EXPECT_ERROR_FOR_DEVICE_NAME": { - "method": "device.name", - "expected": "error" - }, "INVALID_REQUEST_FOR_DEVICE_NAME": { "method": "device.name", "validationJsonPath": "result", "content": "INVALID_PARAMS", "expectingError": true }, - "DEVICE_ONNETWORKCHANGED": { - "method": "device.onNetworkChanged" - }, - "FETCH_DEVICE_NETWORK": { - "method": "device.network" - }, - "DEVICE_NETWORK_AS_WIFI_CONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_WIFICONNECTED" - }, - "DEVICE_NETWORK_AS_WIFI_DISCONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_WIFIDISCONNECTED" - }, - "DEVICE_NETWORK_AS_ETHERNET_CONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_ETHERNETCONNECTED" - }, - "DEVICE_NETWORK_AS_ETHERNET_DISCONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_ETHERNETDISCONNECTED" - }, - "DEVICE_NETWORK_AS_HYBRID_CONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_HYBRIDCONNECTED" - }, - "DEVICE_NETWORK_AS_HYBRID_DISCONNECTED": { - "method": "device.network", - "validationJsonPath": "result", - "content": "DEVICE_NETWORK_HYBRIDDISCONNECTED" - }, - "ONNETWORKCHANGED_WITH_WIFI_CONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_WIFICONNECTED" - }, - "ONNETWORKCHANGED_WITH_WIFI_DISCONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_WIFIDISCONNECTED_EVENT" - }, - "ONNETWORKCHANGED_WITH_ETHERNET_CONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_ETHERNETCONNECTED" - }, - "ONNETWORKCHANGED_WITH_ETHERNET_DISCONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_ETHERNETDISCONNECTED_EVENT" - }, - "ONNETWORKCHANGED_WITH_HYBRID_CONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_HYBRIDCONNECTED" - }, - "ONNETWORKCHANGED_WITH_HYBRID_DISCONNECTED": { - "event": "device.onNetworkChanged", - "validationJsonPath": "eventResponse", - "content": "DEVICE_NETWORK_HYBRIDDISCONNECTED" - }, "EXPECT_ERROR_FOR_DEVICE_ID": { "method": "device.id", "expected": "error" @@ -370,30 +106,6 @@ "method": "device.model", "expected": "error" }, - "ONNETWORKCHANGED_EVENTS_WITH_WIFI_CONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_WIFICONNECT_EVENTS" - }, - "ONNETWORKCHANGED_EVENTS_WITH_WIFI_DISCONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_WIFIDISCONNECT_EVENTS" - }, - "ONNETWORKCHANGED_EVENTS_WITH_ETHERNET_CONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_ETHERNETCONNECT_EVENTS" - }, - "ONNETWORKCHANGED_EVENTS_WITH_ETHERNET_DISCONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_ETHERNETDISCONNECT_EVENTS" - }, - "ONNETWORKCHANGED_EVENTS_WITH_HYBRID_CONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_HYBRIDCONNECT_EVENTS" - }, - "ONNETWORKCHANGED_EVENTS_WITH_HYBRID_DISCONNECTED": { - "method": "device.onNetworkChanged", - "params": "DEVICE_ONNETWORKCHANGED_HYBRIDDISCONNECT_EVENTS" - }, "EXPECTED_VALUE_FOR_DEVICE_NAME": { "method": "device.name", "validationJsonPath": "result", diff --git a/cypress/fixtures/fireboltCalls/discovery.json b/cypress/fixtures/fireboltCalls/discovery.json index 326f67551..ab52fd659 100644 --- a/cypress/fixtures/fireboltCalls/discovery.json +++ b/cypress/fixtures/fireboltCalls/discovery.json @@ -1,7 +1,4 @@ { - "DISCOVERY_ONPOLICYCHANGED": { - "method": "discovery.onPolicyChanged" - }, "ENABLE_RECOMMENDATIONS": { "method": "manage_privacy.setAllowPersonalization", "params": "TRUE" @@ -27,10 +24,6 @@ "validationJsonPath": "eventResponse.enableRecommendations", "content": "TRUE" }, - "DISABLE_RECOMMENDATIONS": { - "method": "manage_privacy.setAllowPersonalization", - "params": "FALSE" - }, "FALSE_FOR_HISTORY_BASED_RECOMMENDATIONS_IN_POLICY": { "method": "discovery.policy", "validationJsonPath": "result.enableRecommendations", @@ -55,10 +48,6 @@ "validationJsonPath": "eventResponse.rememberWatchedPrograms", "content": "TRUE" }, - "DISABLE_REMEMBER_WATCHED_PROGRAMS": { - "method": "manage_privacy.setAllowWatchHistory", - "params": "FALSE" - }, "FALSE_FOR_REMEMBER_WATCHED_PROGRAMS_IN_POLICY": { "method": "discovery.policy", "validationJsonPath": "result.rememberWatchedPrograms", @@ -69,221 +58,16 @@ "validationJsonPath": "eventResponse.rememberWatchedPrograms", "content": "FALSE" }, - "NOTIFY_WATCHED_CONTENT_WITH_ONLY_ENTITYID": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_ONLY_ENTITY_ID" - }, "EXPECT_ERROR_WHILE_NOTIFYING_WATCHED_CONTENT_WITH_ONLY_ENTITYID": { "method": "discovery.watched", "params": "DISCOVERY_WATCHED_ONLY_ENTITY_ID" }, - "NOTIFY_WATCHED_CONTENT_WITH_ENTITYID_PROGRESS": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_ENTITY_ID_PROGRESS" - }, - "NOTIFY_WATCHED_CONTENT_WITH_ENTITYID_PROGRESS_STATUS": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_ENTITY_ID_PROGRESS_STATUS" - }, - "NOTIFY_WATCHED_CONTENT_WITH_ENTITYID_PROGRESS_STATUS_DATE": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_ENTITY_ID_PROGRESS_STATUS_DATE" - }, - "TRUE_FOR_WATCHED_CONTENT_IN_DISCOVERY": { - "method": "discovery.watched", - "validationJsonPath": "result", - "content": "TRUE" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ENTITYID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_ENTITYID" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ENTITYID_ASSETID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_ENTITYID_ASSETID" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ENTITYID_ASSETID_SESSIONID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_ENTITYID_ASSETID_SESSIONID" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ENTITYID_ASSETID_SESSIONID_SERIESID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_ENTITYID_ASSETID_SESSIONID_SERIESID" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ENTITYID_ASSETID_SESSIONID_SERIESID_APPCONTENTDATA": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_ENTITYID_ASSETID_SESSIONID_SERIESID_APPCONTENTDATA" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_EXPIRES": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_EXPIRES" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_EXPIRES_IMAGES": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE_IDENTIFIERS_EXPIRES_IMAGES" - }, - "TRUE_FOR_WATCHNEXT_TILE_IN_DISCOVERY": { - "method": "discovery.watchNext", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_ENTITLEMENTS_IN_DISCOVERY": { - "method": "discovery.entitlements", - "validationJsonPath": "result", - "content": "TRUE" - }, - "NOTIFY_ENTITLEMENTS": { - "method": "discovery.entitlements", - "params": "DISCOVERY_ENTITLEMENTS" - }, - "NOTIFY_ENTITLEMENTS_WITH_ENTITLEMENTID_ONLY": { - "method": "discovery.entitlements", - "params": "DISCOVERY_ENTITLEMENTS_ENTITLEMENTID_ONLY" - }, - "NOTIFY_USER_HAS_SIGNED_IN_WITH_ENTITLEMENTS": { - "method": "discovery.signIn", - "params": "DISCOVERY_SIGNIN_ENTITLEMENTS" - }, - "NOTIFY_USER_HAS_SIGNED_IN_WITHOUT_ENTITLEMENTS": { - "method": "discovery.signIn" - }, - "NOTIFY_USER_HAS_SIGNED_OUT": { - "method": "discovery.signOut" - }, - "NOTIFY_WATCHED_CONTENT_WITH_EMPTY_PARAMETER": { - "method": "discovery.watched", - "expected": "error" - }, - "INVALID_PARAMS_FOR_DISCOVERY_WATCHED": { - "method": "discovery.watched", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "INVALID_REQUEST_FOR_DISCOVERY_WATCHED": { "method": "discovery.watched", "validationJsonPath": "result", "content": "INVALID_PARAMS", "expectingError": true }, - "NOTIFY_WATCHED_CONTENT_WITH_INVALID_ENTITYID_NUMBER": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_INVALID_ENTITY_ID_NUMBER", - "expected": "error" - }, - "NOTIFY_WATCHED_CONTENT_WITH_INVALID_PROGRESS": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_INVALID_PROGRESS", - "expected": "error" - }, - "NOTIFY_WATCHED_CONTENT_WITH_INVALID_PROGRESS_STRING": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_INVALID_PROGRESS_STRING", - "expected": "error" - }, - "NOTIFY_WATCHED_CONTENT_WITH_INVALID_COMPLETED": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_INVALID_COMPLETED", - "expected": "error" - }, - "NOTIFY_WATCHED_CONTENT_WITH_INVALID_WATCHEDON": { - "method": "discovery.watched", - "params": "DISCOVERY_WATCHED_INVALID_WATCHEDON", - "expected": "error" - }, - "INVALID_PARAMS_FOR_DISCOVERY_WATCHNEXT": { - "method": "discovery.watchNext", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "SUGGEST_WATCHNEXT_TILE_WITH_ONLY_TITLE": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_ONLY_TITLE", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_EXPIRES": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_EXPIRES", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_EXPIRES_INTEGER": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_EXPIRES_INTEGER", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IMAGES": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IMAGES", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IMAGE_INTEGER": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IMAGE_INTEGER", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS_ENTITYID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS_ENTITYID", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS_ASSETID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS_ASSETID", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS_SESSIONID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS_SESSIONID", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS_SERIESID": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS_SERIESID", - "expected": "error" - }, - "SUGGEST_WATCHNEXT_TILE_WITH_INVALID_IDENTIFIERS_APPCONTENTDATA": { - "method": "discovery.watchNext", - "params": "DISCOVERY_WATCHNEXT_INVALID_IDENTIFIERS_APPCONTENTDATA", - "expected": "error" - }, - "INVALID_PARAMS_FOR_DISCOVERY_ENTITLEMENTS": { - "method": "discovery.entitlements", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "NOTIFY_ENTITLEMENTS_WITH_NO_ID": { - "method": "discovery.entitlements", - "params": "DISCOVERY_INVALID_ENTITLEMENTS_ENTITLEMENTID", - "expected": "error" - }, - "NOTIFY_ENTITLEMENTS_WITH_INTEGER_PARAMS": { - "method": "discovery.entitlements", - "params": "DISCOVERY_INVALID_ENTITLEMENTS_INTEGER_PARAMS", - "expected": "error" - }, - "INVALID_PARAMS_FOR_DISCOVERY_SIGNIN": { - "method": "discovery.signIn", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "NOTIFY_USER_HAS_SIGNEDIN_WITH_NO_ID": { - "method": "discovery.signIn", - "params": "DISCOVERY_SIGNIN_INVALID_ENTITLEMENTS", - "expected": "error" - }, - "NOTIFY_USER_HAS_SIGNEDIN_WITH_INTEGER_PARAMS": { - "method": "discovery.signIn", - "params": "DISCOVERY_INVALID_ENTITLEMENTS_INTEGER_PARAMS", - "expected": "error" - }, "NOTIFY_CONTENT_ACCESS_WITH_AVAILABILITIES_CHANNEL_TYPE": { "method": "discovery.contentAccess", "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_TYPE_CHANNEL_LINEUP" @@ -292,10 +76,6 @@ "method": "discovery.contentAccess", "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_TYPE_PROGRAM_LINEUP" }, - "NOTIFY_CONTENT_ACCESS_WITH_AVAILABILITIES_TYPE_AND_ID": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_ONLY_TYPE_ID" - }, "NOTIFY_CONTENT_ACCESS_WITH_AVAILABILITIES_TYPE_ID_AND_CATALOGID": { "method": "discovery.contentAccess", "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_WITH_CATALOG_ID" @@ -308,141 +88,21 @@ "method": "discovery.contentAccess", "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_WITH_CATALOG_ID_START_TIME_END_TIME" }, - "NOTIFY_CONTENT_ACCESS_WITH_AVAILABILITIES_AND_ENTITLEMENTS": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_WITH_AVAILABILITIES_AND_ENTITLEMENTS" - }, - "NOTIFY_CONTENT_ACCESS_WITH_ONLY_ENTITLEMENTS": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_WITH_ONLY_ENTITLEMENTS" - }, - "NOTIFY_CONTENT_ACCESS_WITH_AVAILABILITIES_PARAM_EMPTY": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_AS_EMPTY" - }, - "NOTIFY_CONTENT_ACCESS_WITH_ENTITLEMENTS_PARAM_EMPTY": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_ENTITLEMENTS_AS_EMPTY" - }, - "CLEAR_CONTENTACCESS": { - "method": "discovery.clearContentAccess" - }, - "INVALID_PARAMETER_ERROR_FOR_DISCOVERY_CONTENTACCESS": { - "method": "discovery.contentAccess", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "NULL_FOR_DISCOVERY_CLEARCONTENTACCESS": { "method": "discovery.clearContentAccess", "validationJsonPath": "result", "content": "NULL" }, - "NULL_FOR_DISCOVERY_CONTENTACCESS": { - "method": "discovery.contentAccess", - "validationJsonPath": "result", - "content": "NULL" - }, - "NOTIFY_CONTENT_ACCESS_WITHOUT_PARAMS": { - "method": "discovery.contentAccess", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITHOUT_AVAILABILITIES_TYPE_VALUE": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_WITHOUT_TYPE", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITHOUT_AVAILABILITIES_ID_VALUE": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_WITHOUT_ID", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_TYPE_VALUE": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_TYPE_VALUE", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_TYPE": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_DATATYPE_TYPE", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_ID": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_DATATYPE_ID", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_CATALOG_ID": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_DATATYPE_CATALOG_ID", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_STARTTIME": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_DATATYPE_START_TIME", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_AVAILABILITIES_ENDTIME": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_AVAILABILITIES_INVALID_DATATYPE_END_TIME", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_ENTITLEMENTS_BOOLEAN_ENTITLEMENTID": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_ENTITLEMENTS_INVALID_ENTITLEMENTID_TRUE", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_ENTITLEMENTS_INTEGER_ENTITLEMENTID": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_ENTITLEMENTS_INVALID_ENTITLEMENTID_INTEGER", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_ENTITLEMENTS_INVALID_STARTTIME": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_ENTITLEMENTS_INVALID_START_TIME", - "expected": "error" - }, - "NOTIFY_CONTENT_ACCESS_WITH_INVALID_ENTITLEMENTS_INVALID_ENDTIME": { - "method": "discovery.contentAccess", - "params": "DISCOVERY_CONTENTACCESS_ENTITLEMENTS_INVALID_END_TIME", - "expected": "error" - }, - "DISCOVERY_ONSIGNIN": { - "method": "manage_discovery.onSignIn" - }, "ONSIGNIN_FOR_DISCOVERY_WITH_APPID": { "event": "discovery.onSignIn", "validationJsonPath": "eventResponse", "content": "DISCOVERY_ONSIGNIN_APPID" }, - "SIGNIN_FOR_DISCOVERY": { - "method": "discovery.signIn", - "validationJsonPath": "result", - "content": "DISCOVERY_SIGNIN_TRUE" - }, - "DISCOVERY_ONSIGNOUT": { - "method": "manage_discovery.onSignOut" - }, "ONSIGNOUT_FOR_DISCOVERY_WITH_APPID": { "event": "discovery.onSignOut", "validationJsonPath": "eventResponse", "content": "DISCOVERY_ONSIGNOUT_APPID" }, - "SIGNOUT_FOR_DISCOVERY": { - "method": "discovery.signOut", - "validationJsonPath": "result", - "content": "DISCOVERY_SIGNOUT_TRUE" - }, - "SET_ALLOWPERSONALIZATION_TO_TRUE": { - "method": "manage_privacy.setAllowPersonalization", - "params": "TRUE" - }, - "ONDISCOVERYPOLICYCHANGED": { - "event": "discovery.onPolicyChanged", - "validationJsonPath": "eventResponse", - "content": "NULL", - "expectingError": false - }, "GET_HOME_INTENT": { "method": "discovery.launch", "params": "DISCOVERY_HOME_INTENT" diff --git a/cypress/fixtures/fireboltCalls/hdmiinput.json b/cypress/fixtures/fireboltCalls/hdmiinput.json index 68980721f..a4b2377dc 100644 --- a/cypress/fixtures/fireboltCalls/hdmiinput.json +++ b/cypress/fixtures/fireboltCalls/hdmiinput.json @@ -1,16 +1,4 @@ { - "GET_HDMIINPUT_PORTS_LIST":{ - "method": "manage_hdmiinput.ports" - }, - "EXPECTED_HDMIINPUT_PORTS":{ - "method": "hdmiinput.ports", - "validationJsonPath": "result", - "expected": "HDMIINPUT_PORTS" - }, - "GET_HDMIINPUT_PORT_WITH_PORTID_HDMI1":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_PORT_HDMI1" - }, "GET_HDMIINPUT_PORT_WITH_PORTID_HDMI2":{ "method": "manage_hdmiinput.port", "params": "HDMIINPUT_PORT_HDMI2" @@ -20,56 +8,16 @@ "validationJsonPath": "result", "expected": "HDMIINPUT_PORT" }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITH_TRUE": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_SETAUTOLOWLATENCYMODECAPABLE_TRUE" - }, - "TRUE_FOR_AUTOLOWLATENCYMODECAPABLE_PORT":{ - "method": "hdmiinput.port", - "validationJsonPath": "result.autoLowLatencyModeCapable", - "expected": "TRUE" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITH_FALSE": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_SETAUTOLOWLATENCYMODECAPABLE_FALSE" - }, - "FALSE_FOR_AUTOLOWLATENCYMODECAPABLE_PORT":{ - "method": "hdmiinput.port", - "validationJsonPath": "result.autoLowLatencyModeCapable", - "expected": "FALSE" - }, - "SET_EDIDVERSION_TO_1.4": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_1_4_HDMI1" - }, "1.4_FOR_EDIDVERSION_PORT":{ "method": "hdmiinput.port", "validationJsonPath": "result.edidVersion", "expected": "HDMIINPUT_EDIDVERSION_1_4" }, - "SET_EDIDVERSION_TO_2.0": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_2_0_HDMI1" - }, "2.0_FOR_EDIDVERSION_PORT":{ "method": "hdmiinput.port", "validationJsonPath": "result.edidVersion", "expected": "HDMIINPUT_EDIDVERSION_2_0" }, - "SET_EDIDVERSION_TO_UNKNOWN": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_UNKNOWN_HDMI1" - }, - "TRUE_FOR_AUTOLOWLATENCYMODECAPABLE_PORTS":{ - "method": "hdmiinput.ports", - "validationJsonPath": "result[0].autoLowLatencyModeCapable", - "expected": "TRUE" - }, - "FALSE_FOR_AUTOLOWLATENCYMODECAPABLE_PORTS":{ - "method": "hdmiinput.ports", - "validationJsonPath": "result[0].autoLowLatencyModeCapable", - "expected": "FALSE" - }, "1.4_FOR_EDIDVERSION_PORTS":{ "method": "hdmiinput.ports", "validationJsonPath": "result[0].edidVersion", @@ -80,75 +28,6 @@ "validationJsonPath": "result[0].edidVersion", "expected": "HDMIINPUT_EDIDVERSION_2_0" }, - "FALSE_FOR_AUTOLOWLATENCYMODESIGNALLED_PORTS":{ - "method": "hdmiinput.ports", - "validationJsonPath": "result[0].autoLowLatencyModeSignalled", - "expected": "FALSE" - }, - "OPEN_HDMI1_PORT":{ - "method": "manage_hdmiinput.open", - "params": "HDMIINPUT_PORT_HDMI1" - }, - "NULL_FOR_HDMIINPUT_OPEN":{ - "method": "hdmiinput.open", - "validationJsonPath": "result", - "expected": "NULL" - }, - "CLOSE_HDMI_PORT":{ - "method": "manage_hdmiinput.close" - }, - "NULL_FOR_HDMIINPUT_CLOSE":{ - "method": "hdmiinput.close", - "validationJsonPath": "result", - "expected": "NULL" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_TRUE_WITH_HDMI1": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_AUTOLOWLATENCYMODECAPABLE_TRUE_HDMI1" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_FALSE_WITH_HDMI1": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_AUTOLOWLATENCYMODECAPABLE_FALSE_HDMI1" - }, - "SET_LOWLATENCYMODE_WITH_TRUE": { - "method": "manage_hdmiinput.setLowLatencyMode", - "params": "HDMIINPUT_SETLOWLATENCYMODE_TRUE" - }, - "SET_LOWLATENCYMODE_WITH_FALSE": { - "method": "manage_hdmiinput.setLowLatencyMode", - "params": "HDMIINPUT_SETLOWLATENCYMODE_FALSE" - }, - "HDMIINPUT_ONAUTOLOWLATENCYMODECAPABLECHANGED": { - "method": "manage_hdmiinput.onAutoLowLatencyModeCapableChanged" - }, - "HDMIINPUT_ONEDIDVERSIONCHANGED": { - "method": "manage_hdmiinput.onEdidVersionChanged" - }, - "HDMIINPUT_ONLOWLATENCYMODECHANGED": { - "method": "manage_hdmiinput.onLowLatencyModeChanged" - }, - "GET_AUTOLOWLATENCYMODECAPABLE": { - "method": "manage_hdmiinput.autoLowLatencyModeCapable", - "params": "HDMIINPUT_PORTVALUE_HDMI1" - }, - "GET_EDIDVERSION": { - "method": "manage_hdmiinput.edidVersion", - "params": "HDMIINPUT_PORTVALUE_HDMI1" - }, - "GET_LOWLATENCYMODE": { - "method": "manage_hdmiinput.lowLatencyMode", - "params": "HDMIINPUT_PORTVALUE_HDMI1" - }, - "TRUE_FOR_AUTOLOWLATENCYMODECAPABLE_HDMI1_PORT":{ - "method": "hdmiinput.autoLowLatencyModeCapable", - "validationJsonPath": "result", - "expected": "TRUE" - }, - "FALSE_FOR_AUTOLOWLATENCYMODECAPABLE_HDMI1_PORT":{ - "method": "hdmiinput.autoLowLatencyModeCapable", - "validationJsonPath": "result", - "expected": "FALSE" - }, "1.4_FOR_EDIDVERSION_HDMI1_PORT":{ "method": "hdmiinput.edidVersion", "validationJsonPath": "result", @@ -159,26 +38,6 @@ "validationJsonPath": "result", "expected": "HDMIINPUT_EDIDVERSION_2_0" }, - "TRUE_FOR_LOWLATENCYMODE":{ - "method": "hdmiinput.lowLatencyMode", - "validationJsonPath": "result", - "expected": "TRUE" - }, - "FALSE_FOR_LOWLATENCYMODE":{ - "method": "hdmiinput.lowLatencyMode", - "validationJsonPath": "result", - "expected": "FALSE" - }, - "TRUE_FOR_ONAUTOLOWLATENCYMODECAPABLECHANGED":{ - "event": "hdmiinput.onAutoLowLatencyModeCapableChanged", - "validationJsonPath": "eventResponse", - "expected": "TRUE" - }, - "FALSE_FOR_ONAUTOLOWLATENCYMODECAPABLECHANGED":{ - "event": "hdmiinput.onAutoLowLatencyModeCapableChanged", - "validationJsonPath": "eventResponse", - "expected": "FALSE" - }, "1.4_FOR_ONEDIDVERSIONCHANGED":{ "event": "hdmiinput.onEdidVersionChanged", "validationJsonPath": "eventResponse", @@ -189,246 +48,6 @@ "validationJsonPath": "eventResponse", "expected": "HDMIINPUT_EDIDVERSION_2_0" }, - "TRUE_FOR_ONLOWLATENCYMODECHANGED":{ - "event": "hdmiinput.onLowLatencyModeChanged", - "validationJsonPath": "eventResponse", - "expected": "TRUE" - }, - "FALSE_FOR_ONLOWLATENCYMODECHANGED":{ - "event": "hdmiinput.onLowLatencyModeChanged", - "validationJsonPath": "eventResponse", - "expected": "FALSE" - }, - "SET_HDMIINPUT_WITH_INTEGER":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_PORT_INTEGER", - "expected": "error" - }, - "SET_HDMIINPUT_WITH_BOOLEAN":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_PORT_BOOLEAN", - "expected": "error" - }, - "SET_HDMIINPUT_WITH_INVALID_STRING":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_PORT_INVALID_STRING", - "expected": "error" - }, - "SET_HDMIINPUT_PORT_WITH_INTEGER_EDIDVERSION":{ - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_INTEGER", - "expected": "error" - }, - "SET_HDMIINPUT_PORT_WITH_BOOLEAN_EDIDVERSION":{ - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_PORT_BOOLEAN", - "expected": "error" - }, - "SET_HDMIINPUT_PORT_WITH_INVALID_STRING_EDIDVERSION":{ - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_INVALID_STRING", - "expected": "error" - }, - "INVALID_PARAMETERS_FOR_HDMIINPUT_PORT":{ - "method": "hdmiinput.port", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMETERS_FOR_HDMIINPUT_EDIDVERSION":{ - "method": "hdmiinput.setEdidVersion", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITH_INTEGER": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_AUTOLOWLATENCYMODECAPABLE_INTEGER_HDMI1", - "expected": "error" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITH_INVALID_STRING": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_AUTOLOWLATENCYMODECAPABLE_STRING_HDMI1", - "expected": "error" - }, - "SET_EDIDVERSION_WITH_INTEGER": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_INTEGER", - "expected": "error" - }, - "SET_EDIDVERSION_WITH_BOOLEAN": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_BOOLEAN", - "expected": "error" - }, - "SET_LOWLATENCYMODE_WITH_INTEGER": { - "method": "manage_hdmiinput.setLowLatencyMode", - "params": "INTEGER_123", - "expected": "error" - }, - "SET_LOWLATENCYMODE_WITH_STRING": { - "method": "manage_hdmiinput.setLowLatencyMode", - "params": "TEST", - "expected": "error" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITHOUT_PORT": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "HDMIINPUT_AUTOLOWLATENCYMODECAPABLE_TRUE_WITHOUT_PORT", - "expected": "error" - }, - "SET_EDIDVERSION_WITHOUT_PORT": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "HDMIINPUT_EDIDVERSION_1_4_WITHOUT_PORT", - "expected": "error" - }, - "SET_AUTOLOWLATENCYMODECAPABLE_WITH_EMPTY_PARAM": { - "method": "manage_hdmiinput.setAutoLowLatencyModeCapable", - "params": "EMPTY_PARAM", - "expected": "error" - }, - "SET_EDIDVERSION_WITH_EMPTY_PARAM": { - "method": "manage_hdmiinput.setEdidVersion", - "params": "EMPTY_PARAM", - "expected": "error" - }, - "SET_LOWLATENCYMODE_WITH_EMPTY_PARAM": { - "method": "manage_hdmiinput.setLowLatencyMode", - "params": "EMPTY_PARAM", - "expected": "error" - }, - "INVALID_PARAMETERS_FOR_AUTOLOWLATENCYMODECAPABLE":{ - "method": "hdmiinput.setAutoLowLatencyModeCapable", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMETERS_FOR_EDIDVERSION":{ - "method": "hdmiinput.setEdidVersion", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMETERS_FOR_LOWLATENCYMODE":{ - "method": "hdmiinput.setLowLatencyMode", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMETERS_FOR_HDMIINPUT_OPEN":{ - "method": "hdmiinput.open", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "SET_HDMIINPUT_OPEN_WITH_EMPTY_PARAM": { - "method": "manage_hdmiinput.open", - "params": "EMPTY_PARAM", - "expected": "error" - }, - "SET_HDMIINPUT_OPEN_WITH_INTEGER": { - "method": "manage_hdmiinput.open", - "params": "HDMIINPUT_PORT_INTEGER", - "expected": "error" - }, - "SET_HDMIINPUT_OPEN_WITH_BOOLEAN": { - "method": "manage_hdmiinput.open", - "params": "HDMIINPUT_PORT_BOOLEAN", - "expected": "error" - }, - "GET_HDMIINPUT_PORTS_LIST_WITH_ERROR":{ - "method": "manage_hdmiinput.ports", - "expected": "error" - }, - "INVALID_PARAMETERS_FOR_HDMIINPUT_PORTS":{ - "method": "hdmiinput.ports", - "validationJsonPath": "result", - "expected": "INVALID_PARAMS", - "expectingError": true - }, - "GET_HDMIINPUT_PORT_WITH_ERROR":{ - "method": "manage_hdmiinput.port", - "expected": "error" - }, - "HDMIINPUT_ONCONNECTIONCHANGED":{ - "method": "manage_hdmiinput.onConnectionChanged" - }, - "HDMIINPUT_ONSIGNALCHANGED":{ - "method": "manage_hdmiinput.onSignalChanged" - }, - "HDMIINPUT_ONAUTOLOWLATENCYMODESIGNALCHANGED":{ - "method": "manage_hdmiinput.onAutoLowLatencyModeSignalChanged" - }, - "TRUE_FOR_HDMIINPUT_PORT_CONNECTED":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_CONNECTED_TRUE" - }, - "FALSE_FOR_HDMIINPUT_PORT_CONNECTED":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_CONNECTED_TRUE" - }, - "UNKNOWN_FOR_HDMIINPUT_PORT_SIGNAL":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_SIGNAL_UNKNOWN" - }, - "NONE_FOR_HDMIINPUT_PORT_SIGNAL":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_SIGNAL_NONE" - }, - "STABLE_FOR_HDMIINPUT_PORT_SIGNAL":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_SIGNAL_STABLE" - }, - "UNSTABLE_FOR_HDMIINPUT_PORT_SIGNAL":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_SIGNAL_UNSTABLE" - }, - "UNSUPPORTED_FOR_HDMIINPUT_PORT_SIGNAL":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_SIGNAL_UNSUPPORTED" - }, - "TRUE_FOR_HDMIINPUT_PORT_AUTOLOWLATENCYMODESIGNALLED":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_AUTOLOWLATENCYMODESIGNALLED_TRUE" - }, - "FALSE_FOR_HDMIINPUT_PORT_AUTOLOWLATENCYMODESIGNALLED":{ - "method": "manage_hdmiinput.port", - "params": "HDMIINPUT_AUTOLOWLATENCYMODESIGNALLED_FALSE" - }, - "TRUE_FOR_HDMIINPUT_ONCONNECTIONCHANGED_EVENT":{ - "event": "manage_hdmiinput.onConnectionChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONCONNECTIONCHANGED_TRUE" - }, - "FALSE_FOR_HDMIINPUT_ONCONNECTIONCHANGED_EVENT":{ - "event": "manage_hdmiinput.onConnectionChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONCONNECTIONCHANGED_FALSE" - }, - "UNKNOWN_FOR_HDMIINPUT_ONSIGNALCHANGED_EVENT":{ - "event": "manage_hdmiinput.onSignalChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONSIGNALCHANGED_UNKNOWN" - }, - "NONE_FOR_HDMIINPUT_ONSIGNALCHANGED_EVENT":{ - "event": "manage_hdmiinput.onSignalChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONSIGNALCHANGED_NONE" - }, - "STABLE_FOR_HDMIINPUT_ONSIGNALCHANGED_EVENT":{ - "event": "manage_hdmiinput.onSignalChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONSIGNALCHANGED_STABLE" - }, - "UNSTABLE_FOR_HDMIINPUT_ONSIGNALCHANGED_EVENT":{ - "event": "manage_hdmiinput.onSignalChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONSIGNALCHANGED_UNSTABLE" - }, - "UNSUPPORTED_FOR_HDMIINPUT_ONCONNECTIONCHANGED_EVENT":{ - "event": "manage_hdmiinput.onSignalChanged", - "validationJsonPath": "eventResponse", - "expected": "HDMIINPUT_ONSIGNALCHANGED_UNSUPPORTED" - }, "TRUE_FOR_HDMIINPUT_ONAUTOLOWLATENCYMODESIGNALCHANGED_EVENT":{ "event": "manage_hdmiinput.onAutoLowLatencyModeSignalChanged", "validationJsonPath": "eventResponse", diff --git a/cypress/fixtures/fireboltCalls/localization.js b/cypress/fixtures/fireboltCalls/localization.js index d9f5d8dcb..32259c8c4 100644 --- a/cypress/fixtures/fireboltCalls/localization.js +++ b/cypress/fixtures/fireboltCalls/localization.js @@ -362,6 +362,11 @@ exports.SET_COUNTRYCODE_TO_PH = { params: { value: 'PH' }, }; +exports.SET_COUNTRYCODE_TO_UK = { + method: 'manage_localization.setCountryCode', + params: { value: 'UK' }, +}; + exports.SET_LOCALE_TO_ENUS = { method: 'manage_localization.setLocale', params: { value: 'en-US' }, diff --git a/cypress/fixtures/fireboltCalls/localization.json b/cypress/fixtures/fireboltCalls/localization.json index ada4267e8..5fee6344c 100644 --- a/cypress/fixtures/fireboltCalls/localization.json +++ b/cypress/fixtures/fireboltCalls/localization.json @@ -1,83 +1,4 @@ { - "GET_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo" - }, - "EXPECTED_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "EMPTYPARAM" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_STRING": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_AS_STRING" - }, - "STRING_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_ADD_ADDITIONALINFO_AS_STRING" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_EMPTY_STRING": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_AS_EMPTY" - }, - "EMPTY_STRING_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_ADD_ADDITIONALINFO_AS_EMPTY" - }, - "SET_LOCALIZATION_REMOVEADDITIONALINFO_WITH_STRING": { - "method": "manage_localization.removeAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_KEY_AS_STRING" - }, - "SET_LOCALIZATION_REMOVEADDITIONALINFO_WITH_EMPTY_STRING": { - "method": "manage_localization.removeAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_KEY_AS_EMPTY_STRING" - }, - "EMPTY_KEY/VALUE_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_REMOVE_ADDITIONALINFO_RESPONSE_AS_EMPTY_STRING" - }, - "EMPTY_RESPONSE_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_REMOVE_ADDITIONALINFO_EMPTY_RESPONSE" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_KEY_AS_STRING_VALUE_AS_NULL": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_VALUE_AS_NULL", - "expected": "error" - }, - "INVALID_PARAMETERS_FOR_LOCALIZATION_ADDADDITIONALINFO": { - "method": "localization.addAdditionalInfo", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_KEY_AS_NULL_VALUE_AS_STRING": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_KEY_AS_NULL", - "expected": "error" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_KEY_AND_VALUE_AS_NULL": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_AS_NULL", - "expected": "error" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_KEY_AND_VALUE_AS_INTEGER": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_AS_INTEGER", - "expected": "error" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_KEY_AND_VALUE_AS_OBJECT": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_AS_OBJECT", - "expected": "error" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_EMPTY_OBJECT": { - "method": "manage_localization.addAdditionalInfo", - "expected": "error" - }, "SET_LOCALIZATION_REMOVEADDITIONALINFO_AS_EMPTY_OBJECT": { "method": "manage_localization.removeAdditionalInfo", "expected": "error" @@ -93,65 +14,28 @@ "params": "INTEGER_12345", "expected": "error" }, - "GET_LOCALIZATION_COUNTRYCODE": { - "method": "localization.countryCode" - }, - "LOCALIZATION_COUNTRYCODE": { - "method": "localization.countryCode" - }, "PH_FOR_LOCALIZATION_COUNTRYCODE": { "method": "localization.countryCode", "validationJsonPath": "result", "content": "LOCALIZATION_COUNTRYCODE_PH" }, - "GET_LOCALIZATION_LANGUAGE": { - "method": "localization.language" - }, "EXPECTED_LOCALIZATION_LANGUAGE": { "method": "localization.language", "validationJsonPath": "result", "content": "LOCALIZATION_LANGUAGE" }, - "GET_LOCALIZATION_LOCALE": { - "method": "localization.locale" - }, "ENUS_FOR_LOCALIZATION_LOCALE": { "method": "localization.locale", "validationJsonPath": "result", "content": "LOCALIZATION_LOCALE" }, - "ENUK_FOR_LOCALIZATION_LOCALE": { - "method": "localization.locale", - "validationJsonPath": "result", - "content": "LOCALIZATION_LOCALE_UK" - }, - "ESUK_FOR_LOCALIZATION_LOCALE": { - "method": "localization.locale", - "validationJsonPath": "result", - "content": "LOCALIZATION_LOCALE_UK_ES" - }, "GET_LOCALIZATION_PREFERREDAUDIOLANGUAGES": { "method": "localization.preferredAudioLanguages" }, - "GET_LOCALIZATION_LATLON": { - "method": "localization.latlon" - }, - "EXPECTED_LOCALIZATION_LATLON": { - "method": "localization.latlon", - "validationJsonPath": "result", - "content": "LOCALIZATION_LATLON" - }, - "LOCALIZATION_ONLOCALITYCHANGED": { - "method": "localization.onLocalityChanged" - }, "SET_LOCALIZATION_LOCALITY_TO_WASHINGTON": { "method": "manage_localization.setLocality", "params": "LOCALIZATION_LOCALITY_WASHINGTON" }, - "SET_LOCALIZATION_LOCALITY_TO_PHILADELPHIA": { - "method": "manage_localization.setLocality", - "params": "LOCALIZATION_LOCALITY_PHILADELPHIA" - }, "GET_LOCALIZATION_LOCALITY": { "method": "localization.locality" }, @@ -169,54 +53,17 @@ "validationJsonPath": "eventResponse", "content": "LOCALIZATION_LOCALITY_WASHINGTON" }, - "LOCALIZATION_ONCOUNTRYCODECHANGED": { - "method": "localization.onCountryCodeChanged" - }, - "LOCALIZATION_ONLOCALECHANGED": { - "method": "localization.onLocaleChanged" - }, - "LOCALIZATION_ONLANGUAGECHANGED": { - "method": "localization.onLanguageChanged" - }, "LOCALIZATION_ONPREFERREDAUDIOLANGUAGESCHANGED": { "method": "localization.onPreferredAudioLanguagesChanged" }, - "SET_COUNTRYCODE_TO_PH": { - "method": "manage_localization.setCountryCode", - "params": "LOCALIZATION_COUNTRYCODE_PH" - }, - "SET_COUNTRYCODE_TO_US": { - "method": "manage_localization.setCountryCode", - "params": "LOCALIZATION_COUNTRYCODE_US" - }, - "SET_LOCALE_TO_ENUS": { - "method": "manage_localization.setLocale", - "params": "LOCALIZATION_LOCALE" - }, - "SET_LOCALE_TO_ENUK": { - "method": "manage_localization.setLocale", - "params": "LOCALIZATION_LOCALE_UK" - }, - "SET_LOCALE_TO_ESUK": { - "method": "manage_localization.setLocale", - "params": "LOCALIZATION_LOCALE_UK_ES" - }, "SET_LANGUAGE_TO_ES": { "method": "manage_localization.setLanguage", "params": "LOCALIZATION_LANGUAGE_ES" }, - "SET_LANGUAGE_TO_EN": { - "method": "manage_localization.setLanguage", - "params": "LOCALIZATION_LANGUAGE_EN" - }, "SET_PREFERREDAUDIOLANGUAGES_TO_SPA_ENG": { "method": "manage_localization.setPreferredAudioLanguages", "params": "LOCALIZATION_PREFERRED_AUDIO_LANGUAGES_VALUE_SPA_ENG" }, - "SET_PREFERREDAUDIOLANGUAGES_TO_ENG_SPA": { - "method": "manage_localization.setPreferredAudioLanguages", - "params": "LOCALIZATION_PREFERRED_AUDIO_LANGUAGES_VALUE_ENG_SPA" - }, "SPA_ENG_FOR_LOCALIZATION_PREFERREDAUDIOLANGUAGES": { "method": "localization.preferredAudioLanguages", "validationJsonPath": "result", @@ -237,16 +84,6 @@ "validationJsonPath": "eventResponse", "content": "LOCALIZATION_PREFERRED_AUDIO_LANGUAGES_SPA_ENG" }, - "ONLANGUAGECHANGED_FOR_LOCALIZATION_WITH_ES": { - "event": "localization.onLanguageChanged", - "validationJsonPath": "eventResponse", - "content": "LOCALIZATION_LANGUAGE_ES" - }, - "ES_FOR_LOCALIZATION_LANGUAGE": { - "method": "localization.language", - "validationJsonPath": "result", - "content": "LOCALIZATION_LANGUAGE_ES" - }, "EN_FOR_LOCALIZATION_LANGUAGE": { "method": "localization.language", "validationJsonPath": "result", @@ -262,39 +99,15 @@ "validationJsonPath": "eventResponse", "content": "LOCALIZATION_LOCALE" }, - "ONLOCALECHANGED_FOR_LOCALIZATION_WITH_ENUK": { - "event": "localization.onLocaleChanged", - "validationJsonPath": "eventResponse", - "content": "LOCALIZATION_LOCALE_UK" - }, - "ONLOCALECHANGED_FOR_LOCALIZATION_WITH_ESUK": { - "event": "localization.onLocaleChanged", - "validationJsonPath": "eventResponse", - "content": "LOCALIZATION_LOCALE_UK_ES" - }, "ONCOUNTRYCODECHANGED_FOR_LOCALIZATION_WITH_PH": { "event": "localization.onCountryCodeChanged", "validationJsonPath": "eventResponse", "content": "LOCALIZATION_COUNTRYCODE_PH" }, - "ONCOUNTRYCODECHANGED_FOR_LOCALIZATION_WITH_UK": { - "event": "localization.onCountryCodeChanged", - "validationJsonPath": "eventResponse", - "content": "LOCALIZATION_COUNTRYCODE_UK" - }, - "UK_FOR_LOCALIZATION_COUNTRYCODE": { - "method": "localization.countryCode", - "validationJsonPath": "result", - "content": "LOCALIZATION_COUNTRYCODE" - }, "SET_POSTALCODE_TO_12345": { "method": "manage_localization.setPostalCode", "params": "STRING_12345" }, - "SET_POSTALCODE_TO_19103": { - "method": "manage_localization.setPostalCode", - "params": "STRING19103" - }, "GET_POSTALCODE": { "method": "localization.postalCode" }, @@ -362,10 +175,6 @@ "MANAGE_LOCALIZATION_ONPREFERREDAUDIOLANGUAGESCHANGED": { "method": "manage_localization.onPreferredAudioLanguagesChanged" }, - "SET_LOCALITY_TO_WASHINGTON": { - "method": "manage_localization.setLocality", - "params": "LOCALIZATION_LOCALITY_WASHINGTON" - }, "GET_LOCALITY": { "method": "manage_localization.locality" }, @@ -607,30 +416,6 @@ "SET_TIMEZONE_WITHOUT_PARAMS": { "method": "manage_localization.setTimeZone" }, - "SET_LOCALIZATION_TIMEZONE_WITH_AMERICA_LOSANGELES": { - "method": "manage_localization.setTimeZone", - "params": "LOCALIZATION_SETTIMEZONE_AMERICA_LOSANGELES" - }, - "ONLOCALITYCHANGED": { - "event": "localization.onLocalityChanged", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, - "ONCOUNTRYCODECHANGED": { - "event": "localization.onCountryCodeChanged", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, - "ONLOCALECHANGED": { - "event": "localization.onLocaleChanged", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, - "ONLANGUAGECHANGED": { - "event": "localization.onLanguageChanged", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, "EXPECT_ERROR_FOR_LOCALIZATION_LANGUAGE": { "method": "localization.language", "expected": "error" @@ -671,23 +456,5 @@ "validationJsonPath": "result", "content": "INVALID_PARAMS", "expectingError": true - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_INTEGER": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_VALUE_AS_INTEGER" - }, - "INTEGER_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_ADD_ADDITIONALINFO_AS_INTEGER" - }, - "SET_LOCALIZATION_ADDADDITIONALINFO_WITH_BOOLEAN": { - "method": "manage_localization.addAdditionalInfo", - "params": "LOCALIZATION_ADD_ADDITIONALINFO_VALUE_AS_BOOLEAN" - }, - "BOOLEAN_FOR_LOCALIZATION_ADDITIONALINFO": { - "method": "localization.additionalInfo", - "validationJsonPath": "result", - "content": "LOCALIZATION_ADD_ADDITIONALINFO_AS_BOOLEAN" } } \ No newline at end of file diff --git a/cypress/fixtures/fireboltCalls/metrics.json b/cypress/fixtures/fireboltCalls/metrics.json index 99cac4d7d..595c1b45d 100644 --- a/cypress/fixtures/fireboltCalls/metrics.json +++ b/cypress/fixtures/fireboltCalls/metrics.json @@ -1,665 +1,12 @@ { - "SEND_METRICS_EVENT_WITH_SCHEMA_AND_FOO_DATA": { - "method": "manage_metrics.event", - "params": "METRICS_FOO_DATA_AND_SCHEMA" - }, - "SEND_METRICS_EVENT_WITH_SCHEMA_AND_NULL_FOO_DATA": { - "method": "manage_metrics.event", - "params": "METRICS_NULL_FOO_DATA_AND_SCHEMA" - }, - "SEND_METRICS_EVENT_WITH_SCHEMA_AND_BOOLEAN_FOO_DATA": { - "method": "manage_metrics.event", - "params": "METRICS_BOOLEAN_FOO_DATA_AND_SCHEMA" - }, - "SEND_METRICS_EVENT_WITH_EMPTY_DATA": { - "method": "manage_metrics.event", - "params": "METRICS_EMPTY_DATA_OBJECT" - }, "SEND_METRICS_EVENT_WITH_EMPTY_SCHEMA": { "method": "manage_metrics.event", "params": "METRICS_EMPTY_SCHEMA" }, - "SEND_METRICS_EVENT_WITH_SCHEMA_AS_BOOLEAN": { - "method": "manage_metrics.event", - "params": "METRICS_SCHEMA_AS_BOOLEAN", - "expected": "error" - }, - "SEND_METRICS_EVENT_WITH_SCHEMA_AS_INTEGER": { - "method": "manage_metrics.event", - "params": "METRICS_SCHEMA_AS_INTEGER", - "expected": "error" - }, - "SEND_METRICS_EVENT_WITH_INVALID_SCHEMA_URI": { - "method": "manage_metrics.event", - "params": "METRICS_SCHEMA_AS_INVALID_URI", - "expected": "error" - }, - "SEND_METRICS_EVENT_WITH_DATA_AS_STRING": { - "method": "manage_metrics.event", - "params": "METRICS_DATA_AS_STRING", - "expected": "error" - }, - "SEND_METRICS_EVENT_WITH_DATA_AS_BOOLEAN": { - "method": "manage_metrics.event", - "params": "METRICS_DATA_AS_BOOLEAN", - "expected": "error" - }, - "SEND_METRICS_EVENT_WITH_DATA_AS_INTEGER": { - "method": "manage_metrics.event", - "params": "METRICS_DATA_AS_INTEGER", - "expected": "error" - }, "NULL_FOR_METRICS_EVENT": { "method": "metrics.event", "validationJsonPath": "result", "content": "NULL" - }, - "INVALID_PARAMS_FOR_METRICS_EVENT":{ - "method": "metrics.event", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "NOTIFY_THAT_CONTENT_HAS_STARTED": { - "method": "metrics.startContent" - }, - "NOTIFY_THAT_CONTENT_HAS_STOPPED": { - "method": "metrics.stopContent" - }, - "TRUE_FOR_STARTCONTENT_IN_METRICS": { - "method": "metrics.startContent", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_STOPCONTENT_IN_METRICS": { - "method": "metrics.stopContent", - "validationJsonPath": "result", - "content": "TRUE" - }, - "NOTIFY_THAT_PAGE_HAS_NAVIGATED_WITH_EMPTY_PARAMETER": { - "method": "metrics.page", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_EMPTY_PARAMETER": { - "method": "metrics.action", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_TYPE_NULL": { - "method": "metrics.action", - "params": "METRICS_ACTION_TYPE_NULL", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_TYPE_MAXLENGTH_256": { - "method": "metrics.action", - "params": "METRICS_ACTION_TYPE_256", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_DIFFERENT_CATEGORY": { - "method": "metrics.action", - "params": "METRICS_ACTION_DFRNT_CATEGORY", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_EMPTY_PARAMETER": { - "method": "metrics.error", - "expected": "error" - }, - "INFER_LOAD_TIME_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaLoadStart", - "expected": "error" - }, - "START_PLAYBACK_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaPlay", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STARTED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaPlaying", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_PAUSED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaPause", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_HALTED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaWaiting", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaProgress", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaSeeking", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaSeeked", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_RATE_IS_CHANGED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaRateChange", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_RENDITION_IS_CHANGED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaRenditionChange", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STOPPED_WITH_EMPTY_PARAMETER": { - "method": "metrics.mediaEnded", - "expected": "error" - }, - "INVALID_PARAMS_FOR_METRICS_STARTCONTENT": { - "method": "metrics.startContent", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_STOPCONTENT": { - "method": "metrics.stopContent", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_PAGE": { - "method": "metrics.page", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_ACTION": { - "method": "metrics.action", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_ERROR": { - "method": "metrics.error", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIALOADSTART": { - "method": "metrics.mediaLoadStart", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAPLAY": { - "method": "metrics.mediaPlay", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAPLAYING": { - "method": "metrics.mediaPlaying", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAPAUSE": { - "method": "metrics.mediaPause", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAWAITING": { - "method": "metrics.mediaWaiting", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAPROGRESS": { - "method": "metrics.mediaProgress", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIASEEKING": { - "method": "metrics.mediaSeeking", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIASEEKED": { - "method": "metrics.mediaSeeked", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIARATECHANGE": { - "method": "metrics.mediaRateChange", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIARENDITIONCHANGE": { - "method": "metrics.mediaRenditionChange", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_METRICS_MEDIAENDED": { - "method": "metrics.mediaEnded", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "NOTIFY_THAT_CONTENT_HAS_STARTED_WITH_ENTITYID": { - "method": "metrics.startContent", - "params": "METRICS_ENTITYID" - }, - "NOTIFY_THAT_CONTENT_HAS_STOPPED_WITH_ENTITYID": { - "method": "metrics.stopContent", - "params": "METRICS_ENTITYID" - }, - "NOTIFY_THAT_PAGE_HAS_NAVIGATED_WITH_PAGEID": { - "method": "metrics.page", - "params": "METRICS_PAGE_ENTITYID" - }, - "NOTIFY_ABOUT_ACTION_WITH_USERMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_USERMETRICS" - }, - "NOTIFY_ABOUT_ACTION_WITH_APPMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_APPMETRICS" - }, - "NOTIFY_ABOUT_ACTION_WITH_PARAMETERSMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS" - }, - "NOTIFY_ABOUT_ACTION_WITH_PARAMETERSMETRICS_AS_STRING": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS_AS_STRING" - }, - "NOTIFY_ABOUT_ACTION_WITH_PARAMETERSMETRICS_AS_BOOLEAN": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS_AS_BOOLEAN" - }, - "NOTIFY_ABOUT_ACTION_WITH_PARAMETERSMETRICS_AS_NUMBER": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS_AS_NUMBER" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_MEDIASTALLED": { - "method": "metrics.error", - "params": "METRICS_ERROR_MEDIASTALLED" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_MEDIASTALLED_PARAMETER": { - "method": "metrics.error", - "params": "METRICS_ERROR_MEDIASTALLED_WITH_PARAMETERS" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_MEDIASTALLED_PARAMETER_AS_STRING": { - "method": "metrics.error", - "params": "METRICS_ERROR_MEDIASTALLED_WITH_PARAMETERS_AS_STRING" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_MEDIASTALLED_PARAMETER_AS_BOOLEAN": { - "method": "metrics.error", - "params": "METRICS_ERROR_MEDIASTALLED_WITH_PARAMETERS_AS_BOOLEAN" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_MEDIASTALLED_PARAMETER_AS_NUMBER": { - "method": "metrics.error", - "params": "METRICS_ERROR_MEDIASTALLED_WITH_PARAMETERS_AS_NUMBER" - }, - "INFER_LOAD_TIME_WITH_ENTITYID": { - "method": "metrics.mediaLoadStart", - "params": "METRICS_ENTITYID" - }, - "START_PLAYBACK_WITH_ENTITYID": { - "method": "metrics.mediaPlay", - "params": "METRICS_ENTITYID" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STARTED_WITH_ENTITYID": { - "method": "metrics.mediaPlaying", - "params": "METRICS_ENTITYID" - }, - "NOTIFY_THAT_PLAYBACK_HAS_PAUSED_WITH_ENTITYID": { - "method": "metrics.mediaPause", - "params": "METRICS_ENTITYID" - }, - "NOTIFY_THAT_PLAYBACK_HAS_HALTED_WITH_ENTITYID": { - "method": "metrics.mediaWaiting", - "params": "METRICS_MEDIAWAITING" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_MEDIAPOSITION": { - "method": "metrics.mediaProgress", - "params": "METRICS_MEDIAPROGRESS" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_MEDIAPOSITION": { - "method": "metrics.mediaSeeking", - "params": "METRICS_MEDIASEEKING" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_MEDIAPOSITION": { - "method": "metrics.mediaSeeked", - "params": "METRICS_MEDIASEEKED" - }, - "NOTIFY_THAT_PLAYBACK_RATE_IS_CHANGED_WITH_PLAYBACKRATE": { - "method": "metrics.mediaRateChange", - "params": "METRICS_MEDIARATECHANGE" - }, - "NOTIFY_THAT_PLAYBACK_RENDITION_IS_CHANGED_WITH_BITRATEPROFILE": { - "method": "metrics.mediaRenditionChange", - "params": "METRICS_MEDIARENDITIONCHANGE" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STOPPED_WITH_ENTITYID": { - "method": "metrics.mediaEnded", - "params": "METRICS_ENTITYID" - }, - "TRUE_FOR_PAGE_IN_METRICS": { - "method": "metrics.page", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_ACTION_IN_METRICS": { - "method": "metrics.action", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_ERROR_IN_METRICS": { - "method": "metrics.error", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIALOADSTART_IN_METRICS": { - "method": "metrics.mediaLoadStart", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAPLAY_IN_METRICS": { - "method": "metrics.mediaPlay", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAPLAYING_IN_METRICS": { - "method": "metrics.mediaPlaying", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAPAUSE_IN_METRICS": { - "method": "metrics.mediaPause", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAWAITING_IN_METRICS": { - "method": "metrics.mediaWaiting", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAPROGRESS_IN_METRICS": { - "method": "metrics.mediaProgress", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIASEEKING_IN_METRICS": { - "method": "metrics.mediaSeeking", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIASEEKED_IN_METRICS": { - "method": "metrics.mediaSeeked", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIARATECHANGE_IN_METRICS": { - "method": "metrics.mediaRateChange", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIARENDITIONCHANGE_IN_METRICS": { - "method": "metrics.mediaRenditionChange", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_MEDIAENDED_IN_METRICS": { - "method": "metrics.mediaEnded", - "validationJsonPath": "result", - "content": "TRUE" - }, - "NOTIFY_THAT_CONTENT_HAS_STARTED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.startContent", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_CONTENT_HAS_STOPPED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.stopContent", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_PAGE_HAS_NAVIGATED_WITH_NUMERIC_PAGEID": { - "method": "metrics.page", - "params": "METRICS_PAGEID_ERROR", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_NUMERIC_USERMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_USERMETRICS_ERROR", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_NUMERIC_APPMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_USERMETRICS_ERROR", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_NUMERIC_TYPEMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_TYPEMETRICS_ERROR", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_NUMERIC_PARAMMETRICS": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS_ERROR", - "expected": "error" - }, - "NOTIFY_ABOUT_ACTION_WITH_PARAMMETRICS_FOR_NESTED_OBJECT": { - "method": "metrics.action", - "params": "METRICS_ACTION_PARAMETERS_METRICS_NESTED_OBJECT_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_NUMERIC_TYPE": { - "method": "metrics.error", - "params": "METRICS_ERROR_TYPE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_STRING_TYPE": { - "method": "metrics.error", - "params": "METRICS_ERROR_TYPE_STRING_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_NUMERIC_CODE": { - "method": "metrics.error", - "params": "METRICS_ERROR_CODE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_NUMERIC_DESCRIPTION": { - "method": "metrics.error", - "params": "METRICS_ERROR_DESC_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_NUMERIC_VISIBLE": { - "method": "metrics.error", - "params": "METRICS_ERROR_VISIBLE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_NUMERIC_PARAMETERS": { - "method": "metrics.error", - "params": "METRICS_ERROR_PARAM_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_ERROR_HAS_OCCURED_WITH_PARAMETERS_FOR_NESTED_OBJECT": { - "method": "metrics.error", - "params": "METRICS_ERROR_PARAM_NESTED_OBJECT_ERROR", - "expected": "error" - }, - "INFER_LOAD_TIME_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaLoadStart", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "START_PLAYBACK_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaPlay", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STARTED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaPlaying", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_PAUSED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaPause", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_HALTED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaWaiting", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_STRING_MEDIAPOSITION": { - "method": "metrics.mediaProgress", - "params": "METRICS_MEDIAPROGRESS_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_STRING_PROGRESS": { - "method": "metrics.mediaProgress", - "params": "METRICS_MEDIAPROGRESS_PROGRESS_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_INVALID_PROGRESS": { - "method": "metrics.mediaProgress", - "params": "METRICS_MEDIAPROGRESS_INVALID_PROGRESS_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_IS_PROGRESSING_WITH_DECIMAL_PROGRESS": { - "method": "metrics.mediaProgress", - "params": "METRICS_MEDIAPROGRESS_DECIMAL_PROGRESS_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaSeeking", - "params": "METRICS_MEDIASEEKING_ENTITYID_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_DECIMAL_TARGET": { - "method": "metrics.mediaSeeking", - "params": "METRICS_MEDIASEEKING_DECIMAL_TARGET_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_INVALID_TARGET": { - "method": "metrics.mediaSeeking", - "params": "METRICS_MEDIASEEKING_INVALID_TARGET_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_INITIATED_WITH_STRING_TARGET": { - "method": "metrics.mediaSeeking", - "params": "METRICS_MEDIASEEKING_STRING_TARGET_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaSeeked", - "params": "METRICS_MEDIASEEKED_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_INVALID_POSITION": { - "method": "metrics.mediaSeeked", - "params": "METRICS_MEDIASEEKED_INVALID_POSITION_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_STRING_POSITION": { - "method": "metrics.mediaSeeked", - "params": "METRICS_MEDIASEEKED_STRING_POSITION_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_SEEK_IS_COMPLETED_WITH_DECIMAL_POSITION": { - "method": "metrics.mediaSeeked", - "params": "METRICS_MEDIASEEKED_DECIMAL_POSITION_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_RATE_IS_CHANGED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaRateChange", - "params": "METRICS_MEDIARATECHANGE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_RATE_IS_CHANGED_WITH_STRING_RATE": { - "method": "metrics.mediaRateChange", - "params": "METRICS_MEDIARATECHANGE_WITH_STRING_RATE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_RENDITION_IS_CHANGED_WITH_NUMERIC_BITRATE": { - "method": "metrics.mediaRenditionChange", - "params": "METRICS_MEDIARENDITIONCHANGE_ERROR", - "expected": "error" - }, - "NOTIFY_THAT_PLAYBACK_HAS_STOPPED_WITH_NUMERIC_ENTITYID": { - "method": "metrics.mediaEnded", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "NOTIFY_THAT_APP_IS_MINIMALLY_USABLE": { - "method": "metrics.ready" - }, - "LOG_A_SIGN_IN_EVENT": { - "method": "metrics.signIn" - }, - "LOG_A_SIGN_OUT_EVENT": { - "method": "metrics.signOut" - }, - "TRUE_FOR_READY_IN_METRICS": { - "method": "metrics.ready", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_SIGNIN_IN_METRICS": { - "method": "metrics.signIn", - "validationJsonPath": "result", - "content": "TRUE" - }, - "TRUE_FOR_SIGNOUT_IN_METRICS": { - "method": "metrics.signOut", - "validationJsonPath": "result", - "content": "TRUE" - }, - "INITIALIZE_SESSION": { - "method": "internal.initialize", - "params": { - "version": { - "major": 0, - "minor": 13, - "patch": 0, - "readable": "Firebolt Core SDK 0.13.0" - } - } - }, - "CONTENT_FOR_INTERNAL_INITIALIZE": { - "method": "internal.initialize", - "validationJsonPath": "result", - "content": "METRICS_INTERNAL_INITIALIZATION" - }, - "METRICS_MEDIALOADSTART_WITH_ENTITY_345": { - - }, - "INFORM_THE_PLATFORM_ABOUT_APP_BUILD": { - "method": "metrics.appInfo", - "params": "METRICS_APPINFO" - }, - "INFORM_THE_PLATFORM_ABOUT_APP_WITH_NUMERIC_BUILD": { - "method": "metrics.appInfo", - "params": "METRICS_INTEGER_12", - "expected": "error" - }, - "INFORM_THE_PLATFORM_ABOUT_APP_WITH_BOOLEAN_BUILD": { - "method": "metrics.appInfo", - "params": "TRUE", - "expected": "error" - }, - "NULL_FOR_METRICS_APPINFO": { - "method": "metrics.appInfo", - "validationJsonPath": "result", - "content": "NULL" - }, - "INVALID_PARAMS_FOR_METRICS_APPINFO":{ - "method": "metrics.appInfo", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true } } \ No newline at end of file diff --git a/cypress/fixtures/fireboltCalls/parameters.json b/cypress/fixtures/fireboltCalls/parameters.json index 29b7b1029..ed275b410 100644 --- a/cypress/fixtures/fireboltCalls/parameters.json +++ b/cypress/fixtures/fireboltCalls/parameters.json @@ -7,29 +7,6 @@ "method": "manage_privacy.setAllowAppContentAdTargeting", "params": "FALSE" }, - "GET_PARAMETERS_INITIALIZATION": { - "method": "parameters.initialization" - }, - "TRUE_FOR_PARAMETERS_INITIALIZATION": { - "method": "parameters.initialization", - "validationJsonPath": "result", - "content": "ADVERTISING_ADVERTISINGID_ADOFF" - }, - "FALSE_FOR_PARAMETERS_INITIALIZATION": { - "method": "parameters.initialization", - "validationJsonPath": "result", - "content": "ADVERTISING_ADVERTISINGID_ADON" - }, - "DISCOVERY_LAUNCH_WITH_HOME_INTENT": { - "method": "discovery.launch", - "params": "PARAMETERS_HOME_INTENT" - }, - "HOME_INTENT_FOR_PARAMETERS_INITIALIZATION": { - "method": "parameters.initialization", - "validationJsonPath": "result", - "content": "PARAMETERS_INITIALIZATION" - }, - "GET_INITIALIZATION_PARAMETERS_FOR_NULL_INTENT": { "method": "parameters.initialization", "context": "DISCOVERY_LAUNCH_NULL" @@ -70,7 +47,6 @@ "method": "parameters.initialization", "context": "DISCOVERY_LAUNCH_PLAYQUERY" }, - "NULLINTENT_FOR_INITIALIZATION_PARAMETERS": { "method": "parameters.initialization", "context": "DISCOVERY_LAUNCH_NULL", @@ -233,7 +209,6 @@ "validationJsonPath": "result.discovery", "content": "PARAMETERS_INITIALIZATION_PLAYENTITYINTENT_WITHOUT_OPTIONS" }, - "PARAMETERS_INITIALIZATION_ADVERTISINGID_AD_OFF": { "method": "parameters.initialization", "validationJsonPath": "result", @@ -244,7 +219,6 @@ "validationJsonPath": "result", "content": "ADVERTISING_ADVERTISINGID_ADON" }, - "NULLINTENT_SOURCE_FOR_INITIALIZATION_PARAMETERS": { "method": "parameters.initialization", "context": "DISCOVERY_LAUNCH_NULL", diff --git a/cypress/fixtures/fireboltCalls/privacy.json b/cypress/fixtures/fireboltCalls/privacy.json index a1144698d..35b0529f8 100644 --- a/cypress/fixtures/fireboltCalls/privacy.json +++ b/cypress/fixtures/fireboltCalls/privacy.json @@ -1,8 +1,4 @@ { - "SET_PRIVACY_SETALLOWAPPCONTENTADTARGETING_TRUE": { - "method": "manage_privacy.setAllowAppContentAdTargeting", - "params": "TRUE" - }, "SET_PRIVACY_SETALLOWAPPCONTENTADTARGETING_FALSE": { "method": "manage_privacy.setAllowAppContentAdTargeting", "params": "FALSE" @@ -107,10 +103,6 @@ "method": "manage_privacy.setAllowUnentitledResumePoints", "params": "FALSE" }, - "SET_PRIVACY_ALLOW_WATCHHISTORY_AS_TRUE": { - "method": "manage_privacy.setAllowWatchHistory", - "params": "TRUE" - }, "SET_PRIVACY_ALLOW_WATCHHISTORY_AS_FALSE": { "method": "manage_privacy.setAllowWatchHistory", "params": "FALSE" @@ -139,10 +131,6 @@ "method": "manage_privacy.setAllowUnentitledPersonalization", "params": "FALSE" }, - "SET_PRIVACY_ALLOW_REMOTEDIAGNOSTICS_AS_TRUE": { - "method": "manage_privacy.setAllowRemoteDiagnostics", - "params": "TRUE" - }, "SET_PRIVACY_ALLOW_REMOTEDIAGNOSTICS_AS_FALSE": { "method": "manage_privacy.setAllowRemoteDiagnostics", "params": "FALSE" @@ -163,26 +151,10 @@ "method": "manage_privacy.setAllowPrimaryBrowseAdTargeting", "params": "FALSE" }, - "SET_PRIVACY_ALLOW_APPCONTENTADTARGETING_AS_TRUE": { - "method": "manage_privacy.setAllowAppContentAdTargeting", - "params": "TRUE" - }, - "SET_PRIVACY_ALLOW_APPCONTENTADTARGETING_AS_FALSE": { - "method": "manage_privacy.setAllowAppContentAdTargeting", - "params": "FALSE" - }, - "SET_PRIVACY_ALLOW_ACRCOLLECTION_AS_TRUE": { - "method": "manage_privacy.setAllowACRCollection", - "params": "TRUE" - }, "SET_PRIVACY_ALLOW_ACRCOLLECTION_AS_FALSE": { "method": "manage_privacy.setAllowACRCollection", "params": "FALSE" }, - "SET_PRIVACY_ALLOW_CAMERAANALYTICS_AS_TRUE": { - "method": "manage_privacy.setAllowCameraAnalytics", - "params": "TRUE" - }, "SET_PRIVACY_ALLOW_CAMERAANALYTICS_AS_FALSE": { "method": "manage_privacy.setAllowCameraAnalytics", "params": "FALSE" @@ -564,14 +536,6 @@ "validationJsonPath": "eventResponse", "content": "FALSE" }, - "GET_PRIVACY_SETTINGS": { - "method": "manage_privacy.settings" - }, - "EXPECTED_PRIVACY_SETTINGS": { - "method": "privacy.settings", - "validationJsonPath": "result", - "content": "PRIVACY_SETTINGS_METHOD" - }, "SET_PRIVACY_ALLOWRESUMEPOINTS_WITH_INVALID_PARAMS_INTEGER": { "method": "manage_privacy.setAllowResumePoints", "params": "INTEGER1", diff --git a/cypress/fixtures/fireboltCalls/secondscreen.json b/cypress/fixtures/fireboltCalls/secondscreen.json index 87dbc00dc..20b153572 100644 --- a/cypress/fixtures/fireboltCalls/secondscreen.json +++ b/cypress/fixtures/fireboltCalls/secondscreen.json @@ -1,52 +1,4 @@ { - "GET_SECONDSCREEN_DEVICE_WITH_EMPTY_ARRAY": { - "method": "secondscreen.device", - "params": "EMPTYARRAY" - }, - "GET_SECONDSCREEN_DEVICE_WITH_STRING": { - "method": "secondscreen.device", - "params": "SECONDSCREEN_TEST" - }, - "GET_SECONDSCREEN_PROTOCOLS": { - "method": "secondscreen.protocols", - "params": "EMPTYARRAY" - }, - "GET_SECONDSCREEN_DEVICE_WITH_BOOLEAN": { - "method": "secondscreen.device", - "params": "SECONDSCREEN_TRUE", - "expected": "error" - }, - "GET_SECONDSCREEN_DEVICE_WITH_INTEGER": { - "method": "secondscreen.device", - "params": "SECONDSCREEN_INTEGER_123", - "expected": "error" - }, - "SECONDSCREEN_ONFRIENDLYNAMECHANGED": { - "method": "secondscreen.onFriendlyNameChanged" - }, - "SET_FRIENDLYNAME_TO_GUEST_ROOM": { - "method": "manage_device.setName", - "params": "SECONDSCREEN_FRIENDLYNAME" - }, - "GET_SECONDSCREEN_FRIENDLYNAME": { - "method": "secondscreen.friendlyName" - }, - "EXPECTED_SECONDSCREEN_DEVICE": { - "method": "secondscreen.device", - "validationJsonPath": "result", - "content": "SECONDSCREEN_DEVICE" - }, - "EXPECTED_SECONDSCREEN_PROTOCOLS": { - "method": "secondscreen.protocols", - "validationJsonPath": "result", - "content": "SECONDSCREEN_PROTOCOLS" - }, - "INVALID_PARAMETERS_FOR_SECONDSCREEN_DEVICE": { - "method": "secondscreen.device", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "GUEST_ROOM_FOR_SECONDSCREEN_FRIENDLYNAME": { "method": "secondscreen.friendlyName", "validationJsonPath": "result", @@ -57,31 +9,6 @@ "validationJsonPath": "eventResponse", "content": "SECONDSCREEN_FRIENDLYNAME" }, - "ONFRIENDLYNAMECHANGED": { - "event": "secondscreen.onFriendlyNameChanged", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, - "SECONDSCREEN_ONLAUNCHREQUEST": { - "method": "secondscreen.onLaunchRequest" - }, - "SECONDSCREEN_ONCLOSEREQUEST": { - "method": "secondscreen.onCloseRequest" - }, - "NULL_FOR_SECONDSCREEN_ONLAUNCHREQUEST_EVENT": { - "event": "secondscreen.onLaunchRequest", - "validationJsonPath": "eventResponse", - "content": "NULL" - }, - "NULL_FOR_SECONDSCREEN_ONCLOSEREQUEST_EVENT": { - "event": "secondscreen.onCloseRequest", - "validationJsonPath": "eventResponse", - "content": "NULL", - "expectingError": false - }, - "GET_SECONDSCREEN_DEVICE": { - "method": "secondscreen.device" - }, "EXPECT_ERROR_FOR_SECONDSCREEN_DEVICE": { "method": "secondscreen.device", "expected": "error" @@ -91,23 +18,5 @@ "validationJsonPath": "result", "content": "INVALID_PARAMS", "expectingError": true - }, - "SECONDSCREEN_ONLAUNCHREQUEST_EVENT": { - "event": "secondscreen.onLaunchRequest", - "validationJsonPath": "eventResponse", - "content": "SECONDSCREEN_ONLAUNCHREQUEST_TYPE_DIAL_WITH_TEST_DATA" - }, - "SECONDSCREEN_ONCLOSEREQUEST_EVENT": { - "event": "secondscreen.onCloseRequest", - "validationJsonPath": "eventResponse", - "content": "SECONDSCREEN_ONCLOSEREQUEST" - }, - "ONLAUNCHREQUEST_EVENT": { - "method": "secondscreen.onLaunchRequest", - "params": "SECONDSCREEN_ONLAUNCHREQUEST_EVENT" - }, - "ONCLOSEREQUEST_EVENT": { - "method": "secondscreen.onCloseRequest", - "params": "SECONDSCREEN_ONCLOSEREQUEST_EVENT" } } \ No newline at end of file diff --git a/cypress/fixtures/fireboltCalls/securestorage.json b/cypress/fixtures/fireboltCalls/securestorage.json index 24161b9e1..f62a2a047 100644 --- a/cypress/fixtures/fireboltCalls/securestorage.json +++ b/cypress/fixtures/fireboltCalls/securestorage.json @@ -1,115 +1,19 @@ { - "GET_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_KEY_AS_AUTHTESTTOKENDEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_KEY_AS_AUTHTESTTOKENACCOUNT": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_KEY_AS_AUTHTESTTOKENDEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_DEVICE_KEY" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_KEY_AS_AUTHTESTTOKENACCOUNT": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_ACCOUNT_KEY" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_KEY_AS_AUTHTESTTOKENDEVICE1": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_KEY1" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_KEY_AS_AUTHTESTTOKENACCOUNT1": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_KEY1" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENDEVICE": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENACCOUNT": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENDEVICE1_WITH_OPTIONS": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE_OPTIONAL" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENACCOUNT1_WITH_OPTIONS": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT_OPTIONAL" - }, "NULL_FOR_UPDATING_A_SECURE_DATA_VALUE": { "method": "securestorage.set", "validationJsonPath": "result", "content": "NULL" }, - "NULL_FOR_UPDATING_A_SECURE_DATA_VALUE_FOR_AN_APP": { - "method": "securestorage.setForApp", - "validationJsonPath": "result", - "content": "NULL" - }, "NULL_FOR_REMOVING_STORED_VALUE": { "method": "securestorage.remove", "validationJsonPath": "result", "content": "NULL" }, - "NULL_FOR_GETTING_STORED_VALUE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "NULL" - }, "NULL_FOR_REMOVING_STORED_VALUE_FOR_AN_APP": { "method": "securestorage.removeForApp", "validationJsonPath": "result", "content": "NULL" }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENDEVICE_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_DEFAULT_VALUE" - }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENACCOUNT_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_DEFAULT_VALUE" - }, - "EXPECTED_VALUE_FOR_ACCOUNT_SCOPED_AUTHTESTTOKENDEVICE_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_SCOPE_UPDATED_VALUE" - }, - "EXPECTED_VALUE_FOR_DEVICE_SCOPED_AUTHTESTTOKENACCOUNT_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_SCOPE_UPDATED_VALUE" - }, - "AUTHTESTTOKENVALUE1_FOR_STORED_VALUE_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_VALUE1" - }, - "AUTHTESTTOKENVALUE2_FOR_STORED_VALUE_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_VALUE2" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENDEVICE1": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE_VALUE2" - }, - "UPDATE_STORED_VALUE_FOR_KEY_AUTHTESTTOKENACCOUNT1": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT_VALUE2" - }, - "UPDATE_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_KEY_AS_AUTHTESTTOKENDEVICE": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE_TO_ACCOUNT" - }, - "UPDATE_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_KEY_AS_AUTHTESTTOKENACCOUNT": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT_TO_DEVICE" - }, "GET_SECURESTORAGE_WITH_UPDATED_DEVICE_SCOPE_VALUE": { "method": "securestorage.get", "params": "SECURESTORAGE_GET_DEVICE_KEY1" @@ -146,14 +50,6 @@ "validationJsonPath": "result", "content": "SECURESTORAGE_DEFAULT_VALUE" }, - "SET_SECURE_VALUE_FOR_KEY_AUTHTESTTOKENDEVICE1": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE1" - }, - "SET_SECURE_VALUE_FOR_KEY_AUTHTESTTOKENDEVICE2": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE2" - }, "SET_SECURE_VALUE_FOR_AN_APP_FOR_KEY_AUTHTESTTOKENDEVICE1": { "method": "securestorage.setForApp", "params": "SECURESTORAGE_SET_DEVICE1" @@ -162,55 +58,6 @@ "method": "securestorage.setForApp", "params": "SECURESTORAGE_SET_DEVICE2" }, - "REMOVE_THE_STORED_VALUE_AUTHTESTTOKENDEVICE1_WITH_SCOPE_DEVICE": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_REMOVE_DEVICE1" - }, - "GET_STORED_VALUE_FOR_AUTHTESTTOKENDEVICE1_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_KEY1" - }, - "GET_STORED_VALUE_FOR_AUTHTESTTOKENDEVICE2_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_KEY2" - }, - "GET_STORED_VALUE_FOR_AN_APP_FOR_AUTHTESTTOKENDEVICE1_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_KEY1" - }, - "GET_STORED_VALUE_FOR_AN_APP_FOR_AUTHTESTTOKENDEVICE2_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_DEVICE_KEY2" - }, - "GET_STORED_VALUE_FOR_AN_APP_FOR_AUTHTESTTOKENACCOUNT1_WITH_SCOPE_ACCOUNT": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_KEY1" - }, - "GET_STORED_VALUE_FOR_AN_APP_FOR_AUTHTESTTOKENACCOUNT2_WITH_SCOPE_ACCOUNT": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_KEY2" - }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENDEVICE2_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_GET_DEVICE2" - }, - "SET_SECURE_VALUE_FOR_KEY_AUTHTESTTOKENACCOUNT1": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT1" - }, - "SET_SECURE_VALUE_FOR_KEY_AUTHTESTTOKENACCOUNT2": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT2" - }, - "REMOVE_THE_STORED_VALUE_AUTHTESTTOKENACCOUNT1_WITH_SCOPE_ACCOUNT": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_REMOVE_ACCOUNT1" - }, - "GET_STORED_VALUE_FOR_AUTHTESTTOKENACCOUNT1_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_KEY1" - }, "REMOVE_THE_STORED_VALUE_AUTHTESTTOKENACCOUNT_WITH_SCOPE_ACCOUNT": { "method": "securestorage.remove", "params": "SECURESTORAGE_REMOVE_ACCOUNT" @@ -219,218 +66,24 @@ "method": "securestorage.remove", "params": "SECURESTORAGE_REMOVE_DEVICE" }, - "GET_STORED_VALUE_FOR_AUTHTESTTOKENACCOUNT2_WITH_SCOPE_DEVICE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_GET_ACCOUNT_KEY2" - }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENACCOUNT2_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_GET_ACCOUNT2" - }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENACCOUNT1_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_GET_ACCOUNT1" - }, - "EXPECTED_VALUE_FOR_AUTHTESTTOKENDEVICE1_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_GET_DEVICE1" - }, - "INVALID_PARAMETERS_FOR_SECURESTORAGE_GET": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_DEVICE" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INVALID_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_INVALID_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INTEGER_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_INTEGER_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_NULL_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_NULL_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_BOOLEAN_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_BOOLEAN_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_EMPTY_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_EMPTY_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITHOUT_SCOPE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITHOUT_SCOPE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INTEGER_KEY": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_INTEGER_KEY", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_NULL_KEY": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_NULL_KEY", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_BOOLEAN_KEY": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_BOOLEAN_KEY", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITHOUT_KEY": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITHOUT_KEY", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INTEGER_VALUE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_INTEGER_VALUE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_NULL_VALUE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_NULL_VALUE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_BOOLEAN_VALUE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITH_BOOLEAN_VALUE", - "expected": "error" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITHOUT_VALUE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_WITHOUT_VALUE", - "expected": "error" - }, "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_EMPTY_KEY": { "method": "manage_securestorage.setForApp", "params": "SECURESTORAGE_SETFORAPP_WITH_EMPTY_KEY", "expected": "error" }, - "SET_SECURE_DATA_VALUE1_FOR_AN_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_DEVICE_KEY1" - }, - "SET_SECURE_DATA_VALUE1_FOR_SECOND_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_DEVICE_KEY1_APP1" - }, - "SET_SECURE_DATA_VALUE2_FOR_AN_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_DEVICE_KEY2" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_ACCOUNT" - }, "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_ACCOUNT1": { "method": "manage_securestorage.setForApp", "params": "SECURESTORAGE_SETFORAPP_ACCOUNT_KEY1" }, - "SET_SECURE_DATA_VALUE1_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_ACCOUNT_KEY1" - }, - "SET_SECURE_DATA_VALUE2_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_ACCOUNT_KEY2" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_DEVICE_WITH_OPTIONAL_PARAMETER": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_DEVICE_OPTIONAL" - }, - "SET_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_ACCOUNT_WITH_OPTIONAL_PARAMETER": { - "method": "manage_securestorage.setForApp", - "params": "SECURESTORAGE_SETFORAPP_ACCOUNT_OPTIONAL" - }, - "AUTHTESTTOKENVALUE1_FOR_STORED_DATA_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_VALUE1" - }, "NULL_FOR_SETTING_A_DATA_VALUE": { "method": "securestorage.setForApp", "validationJsonPath": "result", "content": "NULL" }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_DEVICE" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INVALID_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_INVALID_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_EMPTY_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_EMPTY_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITHOUT_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITHOUT_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INTEGER_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_INTEGER_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_NULL_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_NULL_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_BOOLEAN_SCOPE": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_BOOLEAN_SCOPE", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_INTEGER_KEY": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_INTEGER_KEY", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_NULL_KEY": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_NULL_KEY", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_BOOLEAN_KEY": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITH_BOOLEAN_KEY", - "expected": "error" - }, - "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITHOUT_KEY": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_WITHOUT_KEY", - "expected": "error" - }, "REMOVE_SECURE_DATA_VALUE_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { "method": "manage_securestorage.removeForApp", "params": "SECURESTORAGE_REMOVEFORAPP_ACCOUNT" }, - "REMOVE_SECURE_DATA_VALUE1_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { - "method": "manage_securestorage.removeForApp", - "params": "SECURESTORAGE_REMOVEFORAPP_ACCOUNT_KEY1" - }, "GET_STORED_VALUE_FOR_AUTHTESTTOKENDEVICE_WITH_SCOPE_DEVICE": { "method": "securestorage.get", "params": "SECURESTORAGE_GET_DEVICE" @@ -447,44 +100,6 @@ "method": "securestorage.get", "params": "SECURESTORAGE_GET_ACCOUNT_KEY2" }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_SCOPE_DEVICE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_DEVICE" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_SCOPE_ACCOUNT": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_ACCOUNT" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_INVALID_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITH_INVALID_SCOPE", - "expected": "error" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_EMPTY_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITH_EMPTY_SCOPE", - "expected": "error" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_INTEGER_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITH_INTEGER_SCOPE", - "expected": "error" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_NULL_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITH_NULL_SCOPE", - "expected": "error" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITH_BOOLEAN_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITH_BOOLEAN_SCOPE", - "expected": "error" - }, - "CLEAR_SECURE_DATA_VALUES_FOR_AN_APP_WITHOUT_SCOPE": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_WITHOUT_SCOPE", - "expected": "error" - }, "GET_STORED_VALUE_FOR_AN_APP_WITH_SCOPE_DEVICE": { "method": "securestorage.get", "params": "SECURESTORAGE_GET_DEVICE" @@ -528,18 +143,6 @@ "params": "INTEGER123", "expected": "error" }, - "INVALID_PARAMS_FOR_SETTING_A_DATA_VALUE_IN_SECURESTORAGE":{ - "method": "securestorage.setForApp", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMETERS_FOR_SECURESTORAGE_SET": { - "method": "securestorage.set", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "INVALID_PARAMS_FOR_REMOVING_STORED_VALUE_IN_SECURESTORAGE":{ "method": "securestorage.removeForApp", "validationJsonPath": "result", @@ -552,298 +155,6 @@ "content": "INVALID_PARAMS", "expectingError": true }, - "INVALID_PARAMETERS_FOR_SECURESTORAGE_REMOVEFORAPP": { - "method": "securestorage.removeForApp", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_PARAMS_FOR_CLEARING_ALL_DATA_FOR_AN_APP_IN_SECURESTORAGE":{ - "method": "securestorage.clearForApp", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "GET_STORED_VALUE_WITH_INVALID_SCOPE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_INVALID_SCOPE", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_EMPTY_STRING": { - "method": "securestorage.get", - "params": "SECURESTORAGE_SCOPE_EMPTY", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_NUMBER": { - "method": "securestorage.get", - "params": "SECURESTORAGE_SCOPE_NUM", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_NULL": { - "method": "securestorage.get", - "params": "SECURESTORAGE_SCOPE_NULL", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_BOOLEAN": { - "method": "securestorage.get", - "params": "SECURESTORAGE_SCOPE_BOOL", - "expected": "error" - }, - "GET_STORED_VALUE_WITHOUT_SCOPE": { - "method": "securestorage.get", - "params": "SECURESTORAGE_WITHOUT_SCOPE", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_KEY_AS_NUMBER": { - "method": "securestorage.get", - "params": "SECURESTORAGE_KEY_NUM", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_KEY_AS_NULL": { - "method": "securestorage.get", - "params": "SECURESTORAGE_KEY_NULL", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_KEY_AS_BOOLEAN": { - "method": "securestorage.get", - "params": "SECURESTORAGE_KEY_BOOL", - "expected": "error" - }, - "GET_STORED_VALUE_WITHOUT_KEY": { - "method": "securestorage.get", - "params": "SECURESTORAGE_WITHOUT_KEY", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_INVALID_SCOPE": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_INVALID_SCOPE", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_NUMBER": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_SCOPE_NUM", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_NULL": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_SCOPE_NULL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_BOOLEAN": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_SCOPE_BOOL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_EMPTY_STRING": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_SCOPE_EMPTY", - "expected": "error" - }, - "SET_SECURE_VALUE_WITHOUT_SCOPE": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_WITHOUT_SCOPE", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_KEY_AS_NUMBER": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_KEY_NUM", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_KEY_AS_NULL": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_KEY_NULL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_KEY_AS_BOOLEAN": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_KEY_BOOL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITHOUT_KEY": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_WITHOUT_KEY", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_VALUE_AS_NUMBER": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_VALUE_NUM", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_VALUE_AS_NULL": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_VALUE_NULL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_VALUE_AS_BOOLEAN": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_VALUE_BOOL", - "expected": "error" - }, - "SET_SECURE_VALUE_WITHOUT_VALUE": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_WITHOUT_VALUE", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_INVALID_OPTIONS": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_INVALID_OPTIONS", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_OPTIONS_AS_EMPTY_OBJECT": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_OPTIONS_EMPTY_OBJ", - "expected": "error" - }, - "SET_SECURE_VALUE_WITH_OPTIONS_AS_EMPTY_STRING": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_OPTIONS_EMPTY_STRING", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_INVALID_SCOPE": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_INVALID_SCOPE", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_SCOPE_AS_EMPTY_STRING": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_SCOPE_EMPTY", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_SCOPE_AS_NUMBER": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_SCOPE_NUM", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_SCOPE_AS_NULL": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_SCOPE_NULL", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_SCOPE_AS_BOOLEAN": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_SCOPE_BOOL", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITHOUT_SCOPE": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_WITHOUT_SCOPE", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_KEY_AS_NUMBER": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_KEY_NUM", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_KEY_AS_NULL": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_KEY_NULL", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITH_KEY_AS_BOOLEAN": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_KEY_BOOL", - "expected": "error" - }, - "REMOVE_STORED_VALUE_WITHOUT_KEY": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_WITHOUT_KEY", - "expected": "error" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_KEY_AS_AUTHTESTTOKENDEVICETTL": { - "method": "securestorage.get", - "params": "SECURESTORAGE_DEVICE_TTL" - }, - "GET_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_KEY_AS_AUTHTESTTOKENACCOUNTTTL": { - "method": "securestorage.get", - "params": "SECURESTORAGE_ACCOUNT_TTL" - } - ,"REMOVE_STORED_VALUE_WITH_SCOPE_AS_DEVICE_AND_TTL_AS_50": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_DEVICE_TTL" - } - ,"REMOVE_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_TTL_AS_50": { - "method": "securestorage.remove", - "params": "SECURESTORAGE_ACCOUNT_TTL" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_DEVICE_AND_TTL_AS_50": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_DEVICE_TTL" - }, - "SET_SECURE_VALUE_WITH_SCOPE_AS_ACCOUNT_AND_TTL_AS_50": { - "method": "securestorage.set", - "params": "SECURESTORAGE_SET_ACCOUNT_TTL" - }, - "AUTHTESTTOKENVALUETTL_FOR_STORED_VALUE_IN_SECURESTORAGE": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "SECURESTORAGE_VALUE_TTL" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_DEVICE": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_DEVICE" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_ACCOUNT" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_DEVICE_FOR_AN_APP": { - "method": "manage_securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_DEVICE" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_ACCOUNT_FOR_AN_APP": { - "method": "securestorage.clearForApp", - "params": "SECURESTORAGE_CLEARFORAPP_ACCOUNT" - }, - "NULL_FOR_CLEARING_STORED_VALUE": { - "method": "securestorage.clear", - "validationJsonPath": "result", - "content": "NULL" - }, - "NULL_FOR_CLEARING_STORED_VALUE_FOR_AN_APP": { - "method": "securestorage.clearForApp", - "validationJsonPath": "result", - "content": "NULL" - }, - "CLEAR_STORED_VALUE_WITH_INVALID_SCOPE": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_INVALID_SCOPE", - "expected": "error" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_EMPTY_STRING": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_SCOPE_EMPTY", - "expected": "error" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_NUMBER": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_SCOPE_NUM", - "expected": "error" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_NULL": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_SCOPE_NULL", - "expected": "error" - }, - "CLEAR_STORED_VALUE_WITH_SCOPE_AS_BOOLEAN": { - "method": "securestorage.clear", - "params": "SECURESTORAGE_CLEAR_SCOPE_BOOLEAN", - "expected": "error" - }, - "CLEAR_STORED_VALUE_WITHOUT_SCOPE": { - "method": "securestorage.clear", - "expected": "error" - }, - "INVALID_PARAMETERS_FOR_SECURESTORAGE_CLEAR": { - "method": "securestorage.clear", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "GET_STORED_VALUE_WITH_KEY_AS_EMPTY": { - "method": "securestorage.get", - "params": "SECURESTORAGE_KEY_EMPTY", - "expected": "error" - }, "SET_SECURE_VALUE_WITH_EMPTY_KEY": { "method": "securestorage.set", "params": "SECURESTORAGE_SET_KEY_EMPTY", @@ -853,23 +164,5 @@ "method": "securestorage.remove", "params": "SECURESTORAGE_KEY_EMPTY", "expected": "error" - }, - "CUSTOM_ERROR_FOR_SECURESTORAGE_REMOVE": { - "method": "securestorage.remove", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "CUSTOM_ERROR_FOR_SECURESTORAGE_SET": { - "method": "securestorage.set", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "CUSTOM_ERROR_FOR_SECURESTORAGE_GET": { - "method": "securestorage.get", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true } } \ No newline at end of file diff --git a/cypress/fixtures/fireboltCalls/wifi.json b/cypress/fixtures/fireboltCalls/wifi.json index 780bc6f5a..db7804945 100644 --- a/cypress/fixtures/fireboltCalls/wifi.json +++ b/cypress/fixtures/fireboltCalls/wifi.json @@ -1,45 +1,4 @@ { - "SCAN_WIFI_WITH_EMPTY_PARAMS": { - "method": "manage_wifi.scan" - }, - "SCAN_WIFI_WITH_20_SECONDS_TIMEOUT": { - "method": "manage_wifi.scan", - "params": "WIFI_SCAN_WITH_20_SECONDS_TIMEOUT" - }, - - "SCAN_WIFI_WITH_BOOLEAN": { - "method": "manage_wifi.scan", - "params": "WIFI_SCAN_TIMEOUT_BOOLEAN_VALUE", - "expected": "error" - }, - "CONNECT_WIFI_WITH_INTEGER": { - "method": "manage_wifi.connect", - "params": "WIFI_CONNECT_INTEGER_SSID", - "expected": "error" - }, - "CONNECT_WPS_WITH_BOOLEAN": { - "method": "manage_wifi.wps", - "params": "WIFI_WPS_CONNECT_BOOLEAN_VALUE", - "expected": "error" - }, - "INVALID_BOOLEAN_PARAMS_FOR_WIFI_SCAN": { - "method": "wifi.scan", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_INTEGER_PARAMS_FOR_WIFI_CONNECT": { - "method": "wifi.connect", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, - "INVALID_VALUE_PARAMS_FOR_WIFI_WPS": { - "method": "wifi.wps", - "validationJsonPath": "result", - "content": "INVALID_PARAMS", - "expectingError": true - }, "WIFI_DISCONNECT": { "method": "manage_wifi.disconnect" }, diff --git a/cypress/fixtures/modules/advertising.json b/cypress/fixtures/modules/advertising.json index 2ecd43666..dfa6673f2 100644 --- a/cypress/fixtures/modules/advertising.json +++ b/cypress/fixtures/modules/advertising.json @@ -3,30 +3,13 @@ "SKIPRESTRICTION_ADSALL": "adsAll", "SKIPRESTRICTION_ALL": "all", "NO_COPPA": {"options": {"environment": "prod","authenticationEntity": "MVPD"}}, - "COPPA_TRUE": {"options": {"coppa": true,"environment": "prod","authenticationEntity": "MVPD"}}, - "COPPA_FALSE": {"options": {"coppa": false,"environment": "prod","authenticationEntity": "MVPD"}}, - "NO_COPPA_ENVIRONMENT_TEST": {"options": {"environment": "test","authenticationEntity": "MVPD"}}, - "COPPA_TRUE_ENVIRONMENT_TEST": {"options": {"coppa": true,"environment": "test","authenticationEntity": "MVPD"}}, - "COPPA_FALSE_ENVIRONMENT_TEST": {"options": {"coppa": false,"environment": "test","authenticationEntity": "MVPD"}}, - "ONLY_COPPA": {"options": {"coppa": true}}, "INVALID_CONFIG_COPPA": {"options": {"coppa": "true","environment": "test","authenticationEntity": "MVPD"}}, "INVALID_CONFIG_AUTHENTICATIONENTITY": {"options":{"environment": "prod","authenticationEntity": 10}}, "INVALID_CONFIG_ENVIRONMENT_DATATYPE": {"options": {"environment": true,"authenticationEntity": "MVPD"}}, "INVALID_CONFIG_ENVIRONMENT": {"options": {"environment": "work","authenticationEntity": "MVPD"}}, "INTEGER_PARAM": {"options": {"coppa": 123,"environment": 123,"authenticationEntity": 123}}, - "ADVERTISINGID_SCOPE_BROWSER": {"options": {"scope":{ "type": "browse","id": "paidPlacement"}}}, - "ADVERTISINGID_SCOPE_CONTENT": {"options": {"scope":{ "type": "content", "id": "merlin:linear:station:123"}}}, "ADVERTISINGID_INVALID_TYPE": {"options": {"scope":{ "type": 1234 ,"id": "paidPlacement"}}}, "ADVERTISINGID_INVALID_ID": {"options": {"scope":{ "type": "browse" ,"id": true}}}, - "EMPTY_PARAMS": {"options": {}}, "DEVICEATTRIBUTES": {}, - "APPBUNDLEID": "", - "SKIPRESTRICTION_INTEGER_VALUE" : 898756, - "ADVERTISINGID_WITHOUT_SCOPE": {"options": {}}, - "ADVERTISINGID_WITH_RANDOM_STRING_SCOPE_ID": {"options": {"scope":{ "type": "browse" ,"id": "test"}}}, - "ADVERTISINGID_WITH_EMPTY_STRING_SCOPE_ID": {"options": {"scope":{ "type": "browse" ,"id": ""}}}, - "ADVERTISINGID_SCOPE_TYPE_INVALID_STRING": {"options": {"scope":{ "type": "test" ,"id": "paidPlacement"}}}, - "ADVERTISINGID_WITHOUT_SCOPE_TYPE_ID": {"options": {"scope":{}}}, - "ADVERTISINGID_WITHOUT_SCOPE_ID": {"options": {"scope":{ "type": "test" }}}, - "ADVERTISINGID_WITHOUT_SCOPE_TYPE": {"options": {"scope":{"id": "paidPlacement"}}} + "SKIPRESTRICTION_INTEGER_VALUE" : 898756 } \ No newline at end of file diff --git a/cypress/fixtures/modules/authentication.json b/cypress/fixtures/modules/authentication.json index 79a1bb95a..d347aaf11 100644 --- a/cypress/fixtures/modules/authentication.json +++ b/cypress/fixtures/modules/authentication.json @@ -2,7 +2,5 @@ "PLATFORM": {"type":"platform"}, "DEVICE": {"type":"device"}, "DISTRIBUTOR": {"type":"distributor"}, - "DISTRIBUTOR_CIMA": {"type":"distributor","options":{"clientId":"CIMA"}}, - "DISTRIBUTOR_OAT": {"type":"distributor","options":{"clientId":"OAT"}}, "PLATFORM1": {"type":"platform1"} } \ No newline at end of file diff --git a/cypress/fixtures/modules/capabilities.json b/cypress/fixtures/modules/capabilities.json index 141030cbf..aef1fdeed 100644 --- a/cypress/fixtures/modules/capabilities.json +++ b/cypress/fixtures/modules/capabilities.json @@ -1,47 +1,11 @@ { - "GET_KEYBOARD": { - "capability": "xrn:firebolt:capability:input:keyboard" - }, - "GET_ACKNOWLEDGECHALLENGE": { - "capability": "xrn:firebolt:capability:usergrant:acknowledgechallenge" - }, - "GET_PINCHALLENGE": { - "capability": "xrn:firebolt:capability:usergrant:pinchallenge" - }, "GRANTED_WITH_GRANT": { "capability": "xrn:firebolt:capability:localization:postal-code" }, - "GRANTED_WITH_OPTIONS_ROLE_USE": { - "capability": "xrn:firebolt:capability:localization:postal-code", - "options": { - "role": "use" - } - }, "CAPABILITY_INFO_INFO_PARAM":{ "capabilities":["xrn:firebolt:capability:capabilities:info"] }, - "GRANTED_WITH_OPTIONS_ROLE_MANAGE": { - "capability": "xrn:firebolt:capability:localization:postal-code", - "options": { - "role": "manage" - } - }, - "GRANTED_WITH_OPTIONS_ROLE_PROVIDE": { - "capability": "xrn:firebolt:capability:localization:postal-code", - "options": { - "role": "provide" - } - }, - "INFO_USERGRANT_PINCHALLENGE": {"capabilities": ["xrn:firebolt:capability:usergrant:pinchallenge"]}, "INFO_DEVICE_DISTRIBUTOR": {"capabilities": ["xrn:firebolt:capability:device:distributor"]}, - "INFO_NETWORK_STATUS": {"capabilities": ["xrn:firebolt:capability:network:status"]}, - "INFO_LOCALIZATION_TIMEZONE": {"capabilities": ["xrn:firebolt:capability:localization:time-zone"]}, - "PRIVACY_SETTINGS_INFO_PARAM":{ - "capabilities":["xrn:firebolt:capability:privacy:settings"] - }, - "INFO_PROTOCOL_WIFI": {"capabilities": ["xrn:firebolt:capability:protocol:wifi"]}, - "INFO_USERGRANT_ACKNOWLEDGECHALLENGE": {"capabilities": ["xrn:firebolt:capability:usergrant:acknowledgechallenge"]}, - "INFO_GRANTS_STATE": {"capabilities": ["xrn:firebolt:capability:grants:state"]}, "REQUEST_USERGRANT_PINCHALLENGE": { "grants": [ { @@ -113,16 +77,6 @@ } ] }, - "SUPPORTED_USERGRANT_PINCHALLENGE":"xrn:firebolt:capability:usergrant:pinchallenge", - "SUPPORTED_DEVICE_DISTRIBUTOR":"xrn:firebolt:capability:device:distributor", - "SUPPORTED_NETWORK_STATUS":"xrn:firebolt:capability:network:status", - "SUPPORTED_LOCALIZATION_TIMEZONE":"xrn:firebolt:capability:localization:time-zone", - "SUPPORTED_PRIVACY_SETTINGS":"xrn:firebolt:capability:privacy:settings", - "SUPPORTED_PROTOCOL_WIFI":"xrn:firebolt:capability:protocol:wifi", - "SUPPORTED_USERGRANT_ACKNOWLEDGECHALLENGE":"xrn:firebolt:capability:usergrant:acknowledgechallenge", - "SUPPORTED_GRANTS_STATE":"xrn:firebolt:capability:grants:state", - "INFO_LIFECYCLE_READY": {"capabilities": ["xrn:firebolt:capability:lifecycle:ready"]}, - "SUPPORTED_LIFECYCLE_READY": "xrn:firebolt:capability:lifecycle:ready", "REQUEST_LIFECYCLE_READY": { "grants": [ { @@ -131,10 +85,6 @@ } ] }, - "INFO_LIFECYCLE_STATE": {"capabilities": ["xrn:firebolt:capability:lifecycle:state"]}, - "INFO_LIFECYCLE_LAUNCH": {"capabilities": ["xrn:firebolt:capability:lifecycle:launch"]}, - "SUPPORTED_LIFECYCLE_STATE": "xrn:firebolt:capability:lifecycle:state", - "SUPPORTED_LIFECYCLE_LAUNCH": "xrn:firebolt:capability:lifecycle:launch", "REQUEST_LIFECYCLE_STATE": { "grants": [ { @@ -151,12 +101,6 @@ } ] }, - "INFO_ADVERTISING_IDENTIFIER": {"capabilities": ["xrn:firebolt:capability:advertising:identifier"]}, - "INFO_ACCOUNT_ID": {"capabilities": ["xrn:firebolt:capability:account:id"]}, - "INFO_ACCOUNT_UID": {"capabilities": ["xrn:firebolt:capability:account:uid"]}, - "SUPPORTED_ADVERTISING_IDENTIFIER": "xrn:firebolt:capability:advertising:identifier", - "SUPPORTED_ACCOUNT_ID": "xrn:firebolt:capability:account:id", - "SUPPORTED_ACCOUNT_UID": "xrn:firebolt:capability:account:uid", "REQUEST_ADVERTISING_IDENTIFIER": { "grants": [ { @@ -762,24 +706,6 @@ "role": [] } }, - "PERMITTED_LIFECYCLE_READY_USE_ROLE_PARAM":{ - "capability":"xrn:firebolt:capability:lifecycle:ready", - "options" : { - "role":"use" - } - }, - "PERMITTED_LIFECYCLE_STATE_USE_ROLE_PARAM":{ - "capability":"xrn:firebolt:capability:lifecycle:state", - "options" : { - "role":"use" - } - }, - "PERMITTED_ACCOUNT_ID_USE_ROLE_PARAM":{ - "capability":"xrn:firebolt:capability:account:id", - "options" : { - "role":"use" - } - }, "PERMITTED_ACCOUNT_UID_USE_ROLE_PARAM":{ "capability":"xrn:firebolt:capability:account:uid", "options" : { @@ -852,12 +778,6 @@ "role":"use" } }, -"PERMITTED_LIFECYCLE_LAUNCH_USE_ROLE_PARAM":{ - "capability":"xrn:firebolt:capability:lifecycle:launch", - "options" : { - "role":"use" - } -}, "PERMITTED_DISCOVERY_SIGNINSTATUS_USE_ROLE_PARAM":{ "capability":"xrn:firebolt:capability:discovery:sign-in-status", "options" : { @@ -1098,12 +1018,6 @@ "role": "use" } }, -"PERMITTED_ADVERTISING_IDENTIFIER_USE_ROLE_PARAM":{ - "capability":"xrn:firebolt:capability:advertising:identifier", - "options" : { - "role":"use" - } -}, "GRANTED_ACCOUNT_UID_ROLE_USE": { "capability": "xrn:firebolt:capability:account:uid", "options": { diff --git a/cypress/fixtures/objects/validationObjects/account.json b/cypress/fixtures/objects/validationObjects/account.json deleted file mode 100644 index 8bf63cba5..000000000 --- a/cypress/fixtures/objects/validationObjects/account.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ACCOUNT_ID": { - "data": [ - { - "type": "fixture", - "validations": [ - { - "mode": "deviceContentValidation", - "type": "ACCOUNTID", - "description": "Validation of the Account Id" - } - ] - } - ] - }, - "ACCOUNT_UID": { - "data": [ - { - "type": "regEx", - "validations": [ - { - "mode": "regex", - "type": "UID", - "description": "Validation of the Account uid" - } - ] - } - ] - } -} \ No newline at end of file