-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUM-7332: Add instrumented test for Compose Session Replay
- Loading branch information
1 parent
f61a42c
commit 2d982f2
Showing
19 changed files
with
933 additions
and
0 deletions.
There are no files selected for viewing
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
41 changes: 41 additions & 0 deletions
41
...integration/src/androidTest/assets/session_replay_payloads/sr_compose_button_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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 320, | ||
"height": 640 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Text Button", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 14, | ||
"color": "#ffffffff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "shape" | ||
} | ||
] | ||
} | ||
}] |
82 changes: 82 additions & 0 deletions
82
...ration/src/androidTest/assets/session_replay_payloads/sr_compose_image_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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 320, | ||
"height": 640 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "image", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Image", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Icon", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
}, | ||
{ | ||
"clip": { | ||
"top": 0, | ||
"bottom": 16, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Icon Button", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}] |
90 changes: 90 additions & 0 deletions
90
...gration/src/androidTest/assets/session_replay_payloads/sr_compose_image_mask_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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 320, | ||
"height": 640 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "placeholder", | ||
"label": "Image" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "xxxxx", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "placeholder", | ||
"label": "Image" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "xxxx", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
}, | ||
{ | ||
"clip": { | ||
"top": 0, | ||
"bottom": 16, | ||
"left": 0, | ||
"right": 0 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "placeholder", | ||
"label": "Image" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "xxxx xxxxxx", | ||
"textStyle": { | ||
"family": "Roboto, sans-serif", | ||
"size": 20, | ||
"color": "#000000ff" | ||
}, | ||
"textPosition": { | ||
"alignment": { | ||
"horizontal": "left" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}] |
54 changes: 54 additions & 0 deletions
54
...n/src/androidTest/assets/session_replay_payloads/sr_compose_selectable_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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 320, | ||
"height": 640 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#03dac6ff", | ||
"width": 2 | ||
}, | ||
"type": "image", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"border": { | ||
"color": "#00000099", | ||
"width": 2 | ||
}, | ||
"type": "image", | ||
"isEmpty": false | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
} | ||
] | ||
} | ||
}] |
52 changes: 52 additions & 0 deletions
52
...on/src/androidTest/assets/session_replay_payloads/sr_compose_selectable_mask_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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[{ | ||
"type": 4, | ||
"data": { | ||
"width": 320, | ||
"height": 640 | ||
} | ||
}, { | ||
"type": 6, | ||
"data": { | ||
"has_focus": true | ||
} | ||
}, { | ||
"type": 10, | ||
"data": { | ||
"wireframes": [ | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 2 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 2 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"type": "shape" | ||
}, | ||
{ | ||
"border": { | ||
"color": "#000000FF", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
} | ||
] | ||
} | ||
}] |
Oops, something went wrong.