code: def test_regression_with_file_uploader_and_chat_input(app: Page):
      """Test issue described in https://github.com/streamlit/streamlit/issues/7556."""
      chat_input_element = app.get_by_test_id("stChatInput").first
      chat_input_element.fill("Hello world!")
      chat_input_element.press("Enter")
      wait_for_app_run(app)
      last_chat_message = app.get_by_test_id(
          "stChatMessageContent"
      ).last
      expect(last_chat_message).to_have_text(
          "Good at 1", use_inner_text=True
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_regression_with_file_uploader_and_chat_input(app) without return types