-
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 #1609 from DataDog/mconstantin/rum-1004/sr-add-fun…
…ctional-tests-for-checkbox-and-radio-buttons RUM-1004 Add the SR functional tests for checkboxes and radiobuttons
- Loading branch information
Showing
28 changed files
with
951 additions
and
27 deletions.
There are no files selected for viewing
237 changes: 237 additions & 0 deletions
237
...ndroidTest/assets/session_replay_payloads/sr_checkbox_and_radio_fields_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,237 @@ | ||
[{ | ||
"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": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "Default CheckBox", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#a538afff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"border": { | ||
"color": "#a538afff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "App Compat CheckBox", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#cc0000ff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"border": { | ||
"color": "#cc0000ff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "Material CheckBox", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#ffbb33ff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"border": { | ||
"color": "#ffbb33ff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "Default Radio", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#a538afff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"shapeStyle": { | ||
"opacity": 1.0, | ||
"cornerRadius": 10 | ||
}, | ||
"border": { | ||
"color": "#a538afff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "App Compat Radio", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#cc0000ff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"shapeStyle": { | ||
"opacity": 1.0, | ||
"cornerRadius": 10 | ||
}, | ||
"border": { | ||
"color": "#cc0000ff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 395, | ||
"height": 32, | ||
"type": "text", | ||
"text": "Material Radio", | ||
"textStyle": { | ||
"family": "roboto, sans-serif", | ||
"size": 14, | ||
"color": "#ffbb33ff" | ||
}, | ||
"textPosition": { | ||
"padding": { | ||
"top": 6, | ||
"bottom": 6, | ||
"left": 32, | ||
"right": 0 | ||
}, | ||
"alignment": { | ||
"horizontal": "left", | ||
"vertical": "center" | ||
} | ||
} | ||
}, | ||
{ | ||
"width": 16, | ||
"height": 16, | ||
"shapeStyle": { | ||
"opacity": 1.0, | ||
"cornerRadius": 10 | ||
}, | ||
"border": { | ||
"color": "#ffbb33ff", | ||
"width": 1 | ||
}, | ||
"type": "shape" | ||
}, | ||
{ | ||
"width": 411, | ||
"height": 56, | ||
"type": "placeholder", | ||
"label": "Toolbar" | ||
} | ||
] | ||
} | ||
}] |
Oops, something went wrong.