code: def test_scri001_scripts(dash_duo, is_eager):
      app = Dash(__name__, eager_loading=is_eager)
      app.layout = html.Div(
          [dcc.Graph(id="output", figure={"data": [{"y": [3, 1, 2]}]})]
      )
  
      dash_duo.start_server(
          app,
          debug=True,
          use_reloader=False,
          use_debugger=True,
          dev_tools_hot_reload=False,
      )
  
      assert hasWindowPlotly(dash_duo) is is_eager
  
      # Wait for the graph to appear
      dash_duo.find_element(".js-plotly-plot")
  
      assert hasWindowPlotly(dash_duo) is True
  
file_path: dash/tests/integration/test_scripts.py
imports: import time
  import pytest
  from dash import Dash, Input, Output, html, dcc
  from dash.exceptions import PreventUpdate
label_desc: Use image node_id 3 for calling a global function with example usage: test_scri001_scripts(dash_duo, is_eager) without return types