Skip to content

Commit

Permalink
RUM-1006 Add SR functional tests for ImageButtons
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusc83 committed Sep 20, 2023
1 parent 13c9fc1 commit 77d736c
Show file tree
Hide file tree
Showing 38 changed files with 1,101 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import com.datadog.android.sessionreplay.model.MobileSegment
*/
interface WireframeMapper<in T : View, out S : MobileSegment.Wireframe> {


/**
* Maps a [View] to a [List<Wireframe>] in order to be rendered in the Session Replay player.
* @param view as the [View] instance that will be mapped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
}
}
},
{
"width": 88,
"height": 48,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 88,
"height": 48,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[{
"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,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 411,
"height": 56,
"type": "placeholder",
"label": "Toolbar"
}
]
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[{
"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,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 411,
"height": 56,
"type": "placeholder",
"label": "Toolbar"
}
]
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[{
"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,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 80,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 75,
"height": 80,
"type": "image",
"mimeType": "image/webp",
"isEmpty": false
},
{
"width": 411,
"height": 56,
"type": "placeholder",
"label": "Toolbar"
}
]
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[{
"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,
"border": {
"color": "#000000ff",
"width": 1
},
"type": "shape"
},
{
"width": 80,
"height": 80,
"border": {
"color": "#000000ff",
"width": 1
},
"type": "shape"
},
{
"width": 411,
"height": 56,
"type": "placeholder",
"label": "Toolbar"
}
]
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[{
"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,
"border": {
"color": "#000000ff",
"width": 1
},
"type": "shape"
},
{
"width": 80,
"height": 80,
"border": {
"color": "#000000ff",
"width": 1
},
"type": "shape"
},
{
"width": 411,
"height": 56,
"type": "placeholder",
"label": "Toolbar"
}
]
}
}]
Loading

0 comments on commit 77d736c

Please sign in to comment.