code: def test_pala005_routing_inputs(dash_duo, clear_pages_state):
      dash_duo.start_server(get_routing_inputs_app())
      dash_duo.wait_for_page(url=f"{dash_duo.server_url}#123")
      dash_duo.wait_for_text_to_equal("#contents", "Home")
      dash_duo.wait_for_page(url=f"{dash_duo.server_url}/")
      dash_duo.wait_for_text_to_equal("#contents", "Home")
      dash_duo.wait_for_page(
          url=f"{dash_duo.server_url}/function-layout"
      )
      dash_duo.wait_for_text_to_equal("#contents", "Hash says:")
      # hash is a State therefore navigating to the same page with hash will not
      # re-render the layout function
      dash_duo.wait_for_page(
          url=f"{dash_duo.server_url}/function-layout#123"
      )
      dash_duo.wait_for_text_to_equal("#contents", "Hash says:")
      # Refreshing the page re-runs the layout function
      dash_duo.driver.refresh()
      dash_duo.wait_for_text_to_equal("#contents", "Hash says: #123")
      # Changing the language Input re-runs the layout function
      dash_duo.select_dcc_dropdown("#language", "fr")
      dash_duo.wait_for_text_to_equal("#contents", "Le hash dit: #123")
  
file_path: dash/tests/integration/multi_page/test_pages_layout.py
imports: import pytest
  import dash
  from dash import Dash, Input, State, dcc, html
  from dash.dash import _ID_LOCATION
  from dash.exceptions import NoLayoutException
label_desc: Use image node_id 8 for calling a global function with example usage: test_pala005_routing_inputs(dash_duo, clear_pages_state) without return types