@@ -49,7 +49,12 @@ const widgetComponentProps = getWidgetComponentProps(
4949) ;
5050
5151function Template ( ) {
52- return < DashboardAllTrafficWidgetGA4 { ...widgetComponentProps } /> ;
52+ // Min height added to fix rare VRT instability where the mobile VRT for Zero Data was not capturing the full height.
53+ return (
54+ < div style = { { minHeight : '980px' } } >
55+ < DashboardAllTrafficWidgetGA4 { ...widgetComponentProps } />
56+ </ div >
57+ ) ;
5358}
5459
5560const baseAllTrafficOptions = {
@@ -167,7 +172,7 @@ EntityDashboardLoaded.args = {
167172} ;
168173EntityDashboardLoaded . scenario = {
169174 readySelector : '[id^="googlesitekit-chart-"] svg' ,
170- delay : 200 ,
175+ delay : 400 , // This extended delay is required to fix rare VRT instability where the chart in this scenario does not render in the standard delay.
171176} ;
172177
173178export const EntityDashboardLoading = Template . bind ( { } ) ;
@@ -225,7 +230,7 @@ EntityDashboardDataUnavailable.args = {
225230} ;
226231EntityDashboardDataUnavailable . scenario = {
227232 readySelector : '[id^="googlesitekit-chart-"] svg' ,
228- delay : 200 ,
233+ delay : 400 , // This extended delay is required to fix rare VRT instability where the chart in this scenario does not render in the standard delay.
229234} ;
230235
231236export const EntityDashboardZeroData = Template . bind ( { } ) ;
@@ -269,7 +274,7 @@ EntityDashboardZeroData.args = {
269274} ;
270275EntityDashboardZeroData . scenario = {
271276 readySelector : '[id^="googlesitekit-chart-"] svg' ,
272- delay : 200 ,
277+ delay : 400 , // This extended delay is required to fix rare VRT instability where the chart in this scenario does not render in the standard delay.
273278} ;
274279
275280export const EntityDashboardError = Template . bind ( { } ) ;
@@ -316,7 +321,7 @@ EntityDashboardOneRowOfData.args = {
316321} ;
317322EntityDashboardOneRowOfData . scenario = {
318323 readySelector : '[id^="googlesitekit-chart-"] svg' ,
319- delay : 200 ,
324+ delay : 400 , // This extended delay is required to fix rare VRT instability where the chart in this scenario does not render in the standard delay.
320325} ;
321326
322327export const NoDataInComparisonDateRange = Template . bind ( { } ) ;
@@ -332,7 +337,7 @@ NoDataInComparisonDateRange.args = {
332337} ;
333338NoDataInComparisonDateRange . scenario = {
334339 readySelector : '[id^="googlesitekit-chart-"] svg' ,
335- delay : 200 ,
340+ delay : 400 , // This extended delay is required to fix rare VRT instability where the chart in this scenario does not render in the standard delay.
336341} ;
337342
338343export default {
0 commit comments