From 97a493a51db94e9f06e35d580694a257d631103f Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 26 Mar 2024 20:20:34 +0530 Subject: [PATCH] chore: removeed extra test info --- .../destinations/webhook/processor/data.ts | 206 +----------------- .../destinations/webhook/router/data.ts | 190 ---------------- 2 files changed, 4 insertions(+), 392 deletions(-) diff --git a/test/integrations/destinations/webhook/processor/data.ts b/test/integrations/destinations/webhook/processor/data.ts index 5a2d57bdb9..e9629041fe 100644 --- a/test/integrations/destinations/webhook/processor/data.ts +++ b/test/integrations/destinations/webhook/processor/data.ts @@ -2777,41 +2777,7 @@ export const data = [ message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', properties: { additional_bet_index: 0, - battle_id: 'N/A', - bet_amount: 9, - bet_level: 1, - bet_multiplier: 1, - coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - days_in_game: 0, - extra_param: 'N/A', - fb_profile: '0', - featureGameType: 'N/A', - game_fps: 30, - game_id: 'fireEagleBase', - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: 'False', - is_auto_spin: 'False', - is_turbo: 'False', - isf: 'False', - ishighroller: 'False', - jackpot_win_amount: 90, - jackpot_win_type: 'Silver', - level: 6, - lifetime_gem_balance: 0, - no_of_spin: 1, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - tournament_id: 'T1561970819', - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, - win_amount: 0, + level: 1, }, timestamp: '2019-09-01T15:46:51.693229+05:30', type: 'track', @@ -2860,41 +2826,7 @@ export const data = [ message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', properties: { additional_bet_index: 0, - battle_id: 'N/A', - bet_amount: 9, - bet_level: 1, - bet_multiplier: 1, - coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - days_in_game: 0, - extra_param: 'N/A', - fb_profile: '0', - featureGameType: 'N/A', - game_fps: 30, - game_id: 'fireEagleBase', - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: 'False', - is_auto_spin: 'False', - is_turbo: 'False', - isf: 'False', - ishighroller: 'False', - jackpot_win_amount: 90, - jackpot_win_type: 'Silver', - level: 6, - lifetime_gem_balance: 0, - no_of_spin: 1, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - tournament_id: 'T1561970819', - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, - win_amount: 0, + level: 1, }, timestamp: '2019-09-01T15:46:51.693229+05:30', type: 'track', @@ -2938,19 +2870,6 @@ export const data = [ message: { anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', context: { - device: { - id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', - manufacturer: 'Xiaomi', - model: 'Redmi 6', - name: 'xiaomi', - }, - network: { - carrier: 'Banglalink', - }, - os: { - name: 'android', - version: '8.1.0', - }, traits: { address: { city: 'Dhaka', @@ -2965,64 +2884,12 @@ export const data = [ }, message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', properties: { - additional_bet_index: 0, - battle_id: 'N/A', - bet_amount: 9, - bet_level: 1, - bet_multiplier: 1, - coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - days_in_game: 0, - extra_param: 'N/A', - fb_profile: '0', - featureGameType: 'N/A', - game_fps: 30, - game_id: 'fireEagleBase', - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: 'False', - is_auto_spin: 'False', - is_turbo: 'False', - isf: 'False', - ishighroller: 'False', - jackpot_win_amount: 90, - jackpot_win_type: 'Silver', - level: 6, - lifetime_gem_balance: 0, - no_of_spin: 1, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - tournament_id: 'T1561970819', - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, - win_amount: 0, + prop1: 1, }, timestamp: '2019-09-01T15:46:51.693229+05:30', type: 'track', user_properties: { coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - fb_profile: '0', - game_fps: 30, - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: false, - level: 6, - lifetime_gem_balance: 0, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, }, }, destination: { @@ -3060,19 +2927,6 @@ export const data = [ JSON: { anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', context: { - device: { - id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', - manufacturer: 'Xiaomi', - model: 'Redmi 6', - name: 'xiaomi', - }, - network: { - carrier: 'Banglalink', - }, - os: { - name: 'android', - version: '8.1.0', - }, traits: { address: { city: 'Dhaka', @@ -3087,64 +2941,12 @@ export const data = [ }, message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', properties: { - additional_bet_index: 0, - battle_id: 'N/A', - bet_amount: 9, - bet_level: 1, - bet_multiplier: 1, - coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - days_in_game: 0, - extra_param: 'N/A', - fb_profile: '0', - featureGameType: 'N/A', - game_fps: 30, - game_id: 'fireEagleBase', - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: 'False', - is_auto_spin: 'False', - is_turbo: 'False', - isf: 'False', - ishighroller: 'False', - jackpot_win_amount: 90, - jackpot_win_type: 'Silver', - level: 6, - lifetime_gem_balance: 0, - no_of_spin: 1, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - tournament_id: 'T1561970819', - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, - win_amount: 0, + prop1: 1, }, timestamp: '2019-09-01T15:46:51.693229+05:30', type: 'track', user_properties: { coin_balance: 9466052, - current_module_name: 'CasinoGameModule', - fb_profile: '0', - game_fps: 30, - game_name: 'FireEagleSlots', - gem_balance: 0, - graphicsQuality: 'HD', - idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', - internetReachability: 'ReachableViaLocalAreaNetwork', - isLowEndDevice: false, - level: 6, - lifetime_gem_balance: 0, - player_total_battles: 0, - player_total_shields: 0, - start_date: '2019-08-01', - total_payments: 0, - userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - versionSessionCount: 2, }, }, JSON_ARRAY: {}, diff --git a/test/integrations/destinations/webhook/router/data.ts b/test/integrations/destinations/webhook/router/data.ts index f539ca132f..6c738ee8a7 100644 --- a/test/integrations/destinations/webhook/router/data.ts +++ b/test/integrations/destinations/webhook/router/data.ts @@ -522,39 +522,6 @@ export const data = [ anonymousId: '1231241234123', channel: 'mobile', context: { - app: { - build: '1', - name: 'AMTestProject', - namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', - version: '1.0', - }, - device: { - id: '8d872292709c6fbe', - manufacturer: 'Google', - model: 'AOSP on IA Emulator', - name: 'generic_x86_arm', - type: 'android', - }, - library: { - name: 'com.rudderstack.android.sdk.core', - version: '1.0.2', - }, - locale: 'en-US', - network: { - carrier: 'Android', - bluetooth: false, - cellular: true, - wifi: true, - }, - os: { - name: 'Android', - version: '9', - }, - screen: { - density: 420, - height: 1794, - width: 1080, - }, timezone: 'Asia/Kolkata', traits: { address: { @@ -601,68 +568,6 @@ export const data = [ message: { anonymousId: '345345435', channel: 'mobile', - context: { - app: { - build: '1', - name: 'AMTestProject', - namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', - version: '1.0', - }, - device: { - id: '8d872292709c6fbe', - manufacturer: 'Google', - model: 'AOSP on IA Emulator', - name: 'generic_x86_arm', - type: 'android', - }, - library: { - name: 'com.rudderstack.android.sdk.core', - version: '1.0.2', - }, - locale: 'en-US', - network: { - carrier: 'Android', - bluetooth: false, - cellular: true, - wifi: true, - }, - os: { - name: 'Android', - version: '9', - }, - screen: { - density: 420, - height: 1794, - width: 1080, - }, - timezone: 'Asia/Kolkata', - traits: { - address: { - city: 'Kolkata', - country: 'India', - postalcode: '700096', - state: 'West bengal', - street: 'Park Street', - }, - age: '30', - anonymousId: '8d872292709c6fbe', - birthday: '2020-05-26', - createdat: '18th March 2020', - description: 'Premium User for 3 years', - email: 'identify3@test.com', - firstname: 'John', - userId: 'sample_user_id', - lastname: 'Sparrow', - name: 'John Sparrow', - id: 'sample_user_id', - phone: '9876543210', - username: 'john_sparrow', - quantity: '5', - price: '56.0', - }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', - }, event: 'identify', integrations: { All: true, @@ -802,39 +707,6 @@ export const data = [ anonymousId: '1231241234123', channel: 'mobile', context: { - app: { - build: '1', - name: 'AMTestProject', - namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', - version: '1.0', - }, - device: { - id: '8d872292709c6fbe', - manufacturer: 'Google', - model: 'AOSP on IA Emulator', - name: 'generic_x86_arm', - type: 'android', - }, - library: { - name: 'com.rudderstack.android.sdk.core', - version: '1.0.2', - }, - locale: 'en-US', - network: { - carrier: 'Android', - bluetooth: false, - cellular: true, - wifi: true, - }, - os: { - name: 'Android', - version: '9', - }, - screen: { - density: 420, - height: 1794, - width: 1080, - }, timezone: 'Asia/Kolkata', traits: { address: { @@ -900,68 +772,6 @@ export const data = [ JSON: { anonymousId: '345345435', channel: 'mobile', - context: { - app: { - build: '1', - name: 'AMTestProject', - namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', - version: '1.0', - }, - device: { - id: '8d872292709c6fbe', - manufacturer: 'Google', - model: 'AOSP on IA Emulator', - name: 'generic_x86_arm', - type: 'android', - }, - library: { - name: 'com.rudderstack.android.sdk.core', - version: '1.0.2', - }, - locale: 'en-US', - network: { - carrier: 'Android', - bluetooth: false, - cellular: true, - wifi: true, - }, - os: { - name: 'Android', - version: '9', - }, - screen: { - density: 420, - height: 1794, - width: 1080, - }, - timezone: 'Asia/Kolkata', - traits: { - address: { - city: 'Kolkata', - country: 'India', - postalcode: '700096', - state: 'West bengal', - street: 'Park Street', - }, - age: '30', - anonymousId: '8d872292709c6fbe', - birthday: '2020-05-26', - createdat: '18th March 2020', - description: 'Premium User for 3 years', - email: 'identify3@test.com', - firstname: 'John', - userId: 'sample_user_id', - lastname: 'Sparrow', - name: 'John Sparrow', - id: 'sample_user_id', - phone: '9876543210', - username: 'john_sparrow', - quantity: '5', - price: '56.0', - }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', - }, event: 'identify', integrations: { All: true,