Skip to content

Commit 183fb25

Browse files
cpsievertclaude
andcommitted
Update shinytest2 snapshots for CI viewport width
Update plotly_relayout width from 962 to 947 to match current CI environment viewport dimensions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0bbaa65 commit 183fb25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

inst/examples/shiny/event_data/tests/testthat/_snaps/shinytest2/002.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"plotly_afterplot-A": "\"plot\"",
1919
"plotly_click-A": "[{\"curveNumber\":0,\"pointNumber\":7,\"x\":24.4,\"y\":3.19,\"customdata\":\"Merc 240D\"}]",
2020
"plotly_hover-A": null,
21-
"plotly_relayout-A": "{\"width\":962,\"height\":400}"
21+
"plotly_relayout-A": "{\"width\":947,\"height\":400}"
2222
},
2323
"output": {
2424
"brushed": "[1] \"Brush extents appear here (double-click to clear)\"",

inst/examples/shiny/event_data/tests/testthat/_snaps/shinytest2/003.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"plotly_brushing-A": "{\"x\":[23.95978500551268,25.98332414553473],\"y\":[3.0020072289156627,3.5073743975903615]}",
2121
"plotly_click-A": "[{\"curveNumber\":0,\"pointNumber\":7,\"x\":24.4,\"y\":3.19,\"customdata\":\"Merc 240D\"}]",
2222
"plotly_hover-A": null,
23-
"plotly_relayout-A": "{\"width\":962,\"height\":400}",
23+
"plotly_relayout-A": "{\"width\":947,\"height\":400}",
2424
"plotly_selected-A": "[{\"curveNumber\":0,\"pointNumber\":7,\"x\":24.4,\"y\":3.19,\"customdata\":\"Merc 240D\"}]",
2525
"plotly_selecting-A": "[{\"curveNumber\":0,\"pointNumber\":7,\"x\":24.4,\"y\":3.19,\"customdata\":\"Merc 240D\"}]"
2626
},

inst/examples/shiny/event_data/tests/testthat/_snaps/shinytest2/004.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"plotly_click-A": null,
2222
"plotly_deselect-A": "\"plot\"",
2323
"plotly_hover-A": null,
24-
"plotly_relayout-A": "{\"width\":962,\"height\":400}",
24+
"plotly_relayout-A": "{\"width\":947,\"height\":400}",
2525
"plotly_selected-A": null,
2626
"plotly_selecting-A": null
2727
},

0 commit comments

Comments
 (0)