-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1916 from DataDog/xgouchet/fix_integration_tests_sr
Fix integration tests post SR refactoring
- Loading branch information
Showing
5 changed files
with
382 additions
and
345 deletions.
There are no files selected for viewing
168 changes: 87 additions & 81 deletions
168
...ation/src/androidTest/assets/session_replay_payloads/consent_granted_sr_test_payload.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,96 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 411, | ||
"height": 914 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"width": 411, | ||
"height": 914, | ||
"shapeStyle": { | ||
"backgroundColor": "#303030ff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 172, | ||
"height": 19, | ||
"type": "text", | ||
"text": "Welcome to Session Replay", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#00ddffff" | ||
[ | ||
{ | ||
"type": 4, | ||
"data": { | ||
"width": 411, | ||
"height": 914 | ||
} | ||
}, | ||
{ | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, | ||
{ | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"width": 411, | ||
"height": 914, | ||
"shapeStyle": { | ||
"backgroundColor": "#303030ff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 0, | ||
"bottom": 0, | ||
"left": 0, | ||
"right": 0 | ||
{ | ||
"width": 172, | ||
"height": 19, | ||
"type": "text", | ||
"text": "Welcome to Session Replay", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#00ddffff" | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "top" | ||
"textPosition": { | ||
"padding": { | ||
"top": 0, | ||
"bottom": 0, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "top" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 88, | ||
"height": 48, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 88, | ||
"height": 48, | ||
"border": { | ||
"color": "#000000ff", | ||
"width": 1 | ||
}, | ||
"type": "text", | ||
"text": "Click Me", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#ffffffff" | ||
{ | ||
"width": 88, | ||
"height": 48, | ||
"shapeStyle": { | ||
"backgroundColor": "#5a595bff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 14, | ||
"bottom": 14, | ||
"left": 11, | ||
"right": 11 | ||
{ | ||
"width": 88, | ||
"height": 48, | ||
"border": { | ||
"color": "#000000ff", | ||
"width": 1 | ||
}, | ||
"alignment": { | ||
"horizontal": "center", | ||
"vertical": "center" | ||
"type": "text", | ||
"text": "Click Me", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#ffffffff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 14, | ||
"bottom": 14, | ||
"left": 11, | ||
"right": 11 | ||
}, | ||
"alignment": { | ||
"horizontal": "center", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 411, | ||
"height": 56, | ||
"type": "placeholder", | ||
"label": "Toolbar" | ||
} | ||
}, | ||
{ | ||
"width": 411, | ||
"height": 56, | ||
"type": "placeholder", | ||
"label": "Toolbar" | ||
} | ||
] | ||
] | ||
} | ||
} | ||
}] | ||
] |
186 changes: 98 additions & 88 deletions
186
...ration/src/androidTest/assets/session_replay_payloads/sr_image_buttons_allow_payload.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,103 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 411, | ||
"height": 914 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"width": 411, | ||
"height": 914, | ||
"shapeStyle": { | ||
"backgroundColor": "#303030ff", | ||
"opacity": 1.0 | ||
[ | ||
{ | ||
"type": 4, | ||
"data": { | ||
"width": 411, | ||
"height": 914 | ||
} | ||
}, | ||
{ | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, | ||
{ | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"width": 411, | ||
"height": 914, | ||
"shapeStyle": { | ||
"backgroundColor": "#303030ff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"shapeStyle": { | ||
"backgroundColor": "#5a595bff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"shapeStyle": { | ||
"backgroundColor": "#5a595bff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"shapeStyle": { | ||
"backgroundColor": "#5a595bff", | ||
"opacity": 1.0 | ||
}, | ||
"type": "shape" | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 80, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
{ | ||
"width": 80, | ||
"height": 84, | ||
"clip": { | ||
"top": 2, | ||
"bottom": 2, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
"type": "image", | ||
"mimeType": "image/webp", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"width": 411, | ||
"height": 56, | ||
"type": "placeholder", | ||
"label": "Toolbar" | ||
} | ||
] | ||
{ | ||
"width": 411, | ||
"height": 56, | ||
"type": "placeholder", | ||
"label": "Toolbar" | ||
} | ||
] | ||
} | ||
} | ||
}] | ||
] |
Oops, something went wrong.