Skip to content

Commit e574689

Browse files
committed
Update shinytest tests
1 parent 44aa387 commit e574689

File tree

8 files changed

+42
-37
lines changed

8 files changed

+42
-37
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
]
1616
},
1717
"plotType": "ggplotly",
18-
"plotly_afterplot-A": "\"plot\""
18+
"plotly_afterplot-A": "\"plot\"",
19+
"plotly_hover-A": null
1920
},
2021
"output": {
2122
"brushed": "[1] \"Brush extents appear here (double-click to clear)\"",
@@ -185,9 +186,9 @@
185186
],
186187
"layout": {
187188
"margin": {
188-
"t": 25.74124809741248,
189+
"t": 23.305936073059364,
189190
"r": 7.3059360730593621,
190-
"b": 39.69558599695587,
191+
"b": 37.260273972602747,
191192
"l": 31.415525114155255
192193
},
193194
"plot_bgcolor": "rgba(235,235,235,1)",
@@ -239,7 +240,7 @@
239240
"ticks": "outside",
240241
"tickcolor": "rgba(51,51,51,1)",
241242
"ticklen": 3.6529680365296811,
242-
"tickwidth": 0.66417600664176002,
243+
"tickwidth": 0,
243244
"showticklabels": true,
244245
"tickfont": {
245246
"color": "rgba(77,77,77,1)",
@@ -252,7 +253,7 @@
252253
"linewidth": 0,
253254
"showgrid": true,
254255
"gridcolor": "rgba(255,255,255,1)",
255-
"gridwidth": 0.66417600664176002,
256+
"gridwidth": 0,
256257
"zeroline": false,
257258
"anchor": "y",
258259
"title": {
@@ -301,7 +302,7 @@
301302
"ticks": "outside",
302303
"tickcolor": "rgba(51,51,51,1)",
303304
"ticklen": 3.6529680365296811,
304-
"tickwidth": 0.66417600664176002,
305+
"tickwidth": 0,
305306
"showticklabels": true,
306307
"tickfont": {
307308
"color": "rgba(77,77,77,1)",
@@ -314,7 +315,7 @@
314315
"linewidth": 0,
315316
"showgrid": true,
316317
"gridcolor": "rgba(255,255,255,1)",
317-
"gridwidth": 0.66417600664176002,
318+
"gridwidth": 0,
318319
"zeroline": false,
319320
"anchor": "x",
320321
"title": {
@@ -340,6 +341,7 @@
340341
},
341342
"yref": "paper",
342343
"xref": "paper",
344+
"layer": "below",
343345
"x0": 0,
344346
"x1": 1,
345347
"y0": 0,
@@ -350,7 +352,7 @@
350352
"legend": {
351353
"bgcolor": "rgba(255,255,255,1)",
352354
"bordercolor": "transparent",
353-
"borderwidth": 1.8897637795275593,
355+
"borderwidth": 0,
354356
"font": {
355357
"color": "rgba(0,0,0,1)",
356358
"family": "",
@@ -445,9 +447,9 @@
445447
},
446448
{
447449
"name": "crosstalk",
448-
"version": "1.2.1",
450+
"version": "1.2.2",
449451
"src": {
450-
"href": "crosstalk-1.2.1"
452+
"href": "crosstalk-1.2.2"
451453
},
452454
"meta": null,
453455
"script": "js/crosstalk.min.js",
-18 KB
Loading

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@
188188
],
189189
"layout": {
190190
"margin": {
191-
"t": 25.74124809741248,
191+
"t": 23.305936073059364,
192192
"r": 7.3059360730593621,
193-
"b": 39.69558599695587,
193+
"b": 37.260273972602747,
194194
"l": 31.415525114155255
195195
},
196196
"plot_bgcolor": "rgba(235,235,235,1)",
@@ -242,7 +242,7 @@
242242
"ticks": "outside",
243243
"tickcolor": "rgba(51,51,51,1)",
244244
"ticklen": 3.6529680365296811,
245-
"tickwidth": 0.66417600664176002,
245+
"tickwidth": 0,
246246
"showticklabels": true,
247247
"tickfont": {
248248
"color": "rgba(77,77,77,1)",
@@ -255,7 +255,7 @@
255255
"linewidth": 0,
256256
"showgrid": true,
257257
"gridcolor": "rgba(255,255,255,1)",
258-
"gridwidth": 0.66417600664176002,
258+
"gridwidth": 0,
259259
"zeroline": false,
260260
"anchor": "y",
261261
"title": {
@@ -304,7 +304,7 @@
304304
"ticks": "outside",
305305
"tickcolor": "rgba(51,51,51,1)",
306306
"ticklen": 3.6529680365296811,
307-
"tickwidth": 0.66417600664176002,
307+
"tickwidth": 0,
308308
"showticklabels": true,
309309
"tickfont": {
310310
"color": "rgba(77,77,77,1)",
@@ -317,7 +317,7 @@
317317
"linewidth": 0,
318318
"showgrid": true,
319319
"gridcolor": "rgba(255,255,255,1)",
320-
"gridwidth": 0.66417600664176002,
320+
"gridwidth": 0,
321321
"zeroline": false,
322322
"anchor": "x",
323323
"title": {
@@ -343,6 +343,7 @@
343343
},
344344
"yref": "paper",
345345
"xref": "paper",
346+
"layer": "below",
346347
"x0": 0,
347348
"x1": 1,
348349
"y0": 0,
@@ -353,7 +354,7 @@
353354
"legend": {
354355
"bgcolor": "rgba(255,255,255,1)",
355356
"bordercolor": "transparent",
356-
"borderwidth": 1.8897637795275593,
357+
"borderwidth": 0,
357358
"font": {
358359
"color": "rgba(0,0,0,1)",
359360
"family": "",
@@ -448,9 +449,9 @@
448449
},
449450
{
450451
"name": "crosstalk",
451-
"version": "1.2.1",
452+
"version": "1.2.2",
452453
"src": {
453-
"href": "crosstalk-1.2.1"
454+
"href": "crosstalk-1.2.2"
454455
},
455456
"meta": null,
456457
"script": "js/crosstalk.min.js",
-19.3 KB
Loading

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@
192192
],
193193
"layout": {
194194
"margin": {
195-
"t": 25.74124809741248,
195+
"t": 23.305936073059364,
196196
"r": 7.3059360730593621,
197-
"b": 39.69558599695587,
197+
"b": 37.260273972602747,
198198
"l": 31.415525114155255
199199
},
200200
"plot_bgcolor": "rgba(235,235,235,1)",
@@ -246,7 +246,7 @@
246246
"ticks": "outside",
247247
"tickcolor": "rgba(51,51,51,1)",
248248
"ticklen": 3.6529680365296811,
249-
"tickwidth": 0.66417600664176002,
249+
"tickwidth": 0,
250250
"showticklabels": true,
251251
"tickfont": {
252252
"color": "rgba(77,77,77,1)",
@@ -259,7 +259,7 @@
259259
"linewidth": 0,
260260
"showgrid": true,
261261
"gridcolor": "rgba(255,255,255,1)",
262-
"gridwidth": 0.66417600664176002,
262+
"gridwidth": 0,
263263
"zeroline": false,
264264
"anchor": "y",
265265
"title": {
@@ -308,7 +308,7 @@
308308
"ticks": "outside",
309309
"tickcolor": "rgba(51,51,51,1)",
310310
"ticklen": 3.6529680365296811,
311-
"tickwidth": 0.66417600664176002,
311+
"tickwidth": 0,
312312
"showticklabels": true,
313313
"tickfont": {
314314
"color": "rgba(77,77,77,1)",
@@ -321,7 +321,7 @@
321321
"linewidth": 0,
322322
"showgrid": true,
323323
"gridcolor": "rgba(255,255,255,1)",
324-
"gridwidth": 0.66417600664176002,
324+
"gridwidth": 0,
325325
"zeroline": false,
326326
"anchor": "x",
327327
"title": {
@@ -347,6 +347,7 @@
347347
},
348348
"yref": "paper",
349349
"xref": "paper",
350+
"layer": "below",
350351
"x0": 0,
351352
"x1": 1,
352353
"y0": 0,
@@ -357,7 +358,7 @@
357358
"legend": {
358359
"bgcolor": "rgba(255,255,255,1)",
359360
"bordercolor": "transparent",
360-
"borderwidth": 1.8897637795275593,
361+
"borderwidth": 0,
361362
"font": {
362363
"color": "rgba(0,0,0,1)",
363364
"family": "",
@@ -452,9 +453,9 @@
452453
},
453454
{
454455
"name": "crosstalk",
455-
"version": "1.2.1",
456+
"version": "1.2.2",
456457
"src": {
457-
"href": "crosstalk-1.2.1"
458+
"href": "crosstalk-1.2.2"
458459
},
459460
"meta": null,
460461
"script": "js/crosstalk.min.js",
-18.9 KB
Loading

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@
193193
],
194194
"layout": {
195195
"margin": {
196-
"t": 25.74124809741248,
196+
"t": 23.305936073059364,
197197
"r": 7.3059360730593621,
198-
"b": 39.69558599695587,
198+
"b": 37.260273972602747,
199199
"l": 31.415525114155255
200200
},
201201
"plot_bgcolor": "rgba(235,235,235,1)",
@@ -247,7 +247,7 @@
247247
"ticks": "outside",
248248
"tickcolor": "rgba(51,51,51,1)",
249249
"ticklen": 3.6529680365296811,
250-
"tickwidth": 0.66417600664176002,
250+
"tickwidth": 0,
251251
"showticklabels": true,
252252
"tickfont": {
253253
"color": "rgba(77,77,77,1)",
@@ -260,7 +260,7 @@
260260
"linewidth": 0,
261261
"showgrid": true,
262262
"gridcolor": "rgba(255,255,255,1)",
263-
"gridwidth": 0.66417600664176002,
263+
"gridwidth": 0,
264264
"zeroline": false,
265265
"anchor": "y",
266266
"title": {
@@ -309,7 +309,7 @@
309309
"ticks": "outside",
310310
"tickcolor": "rgba(51,51,51,1)",
311311
"ticklen": 3.6529680365296811,
312-
"tickwidth": 0.66417600664176002,
312+
"tickwidth": 0,
313313
"showticklabels": true,
314314
"tickfont": {
315315
"color": "rgba(77,77,77,1)",
@@ -322,7 +322,7 @@
322322
"linewidth": 0,
323323
"showgrid": true,
324324
"gridcolor": "rgba(255,255,255,1)",
325-
"gridwidth": 0.66417600664176002,
325+
"gridwidth": 0,
326326
"zeroline": false,
327327
"anchor": "x",
328328
"title": {
@@ -348,6 +348,7 @@
348348
},
349349
"yref": "paper",
350350
"xref": "paper",
351+
"layer": "below",
351352
"x0": 0,
352353
"x1": 1,
353354
"y0": 0,
@@ -358,7 +359,7 @@
358359
"legend": {
359360
"bgcolor": "rgba(255,255,255,1)",
360361
"bordercolor": "transparent",
361-
"borderwidth": 1.8897637795275593,
362+
"borderwidth": 0,
362363
"font": {
363364
"color": "rgba(0,0,0,1)",
364365
"family": "",
@@ -453,9 +454,9 @@
453454
},
454455
{
455456
"name": "crosstalk",
456-
"version": "1.2.1",
457+
"version": "1.2.2",
457458
"src": {
458-
"href": "crosstalk-1.2.1"
459+
"href": "crosstalk-1.2.2"
459460
},
460461
"meta": null,
461462
"script": "js/crosstalk.min.js",
-19.1 KB
Loading

0 commit comments

Comments
 (0)