code: def test_correctly_handles_first_chat_message(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.container(height=<pixels>) correctly handles the scroll
      behaviour change when adding the first chat message ."""
  
      # Click button to add a chat message to the empty container:
      app.get_by_test_id("stButton").nth(2).locator("button").click()
  
      wait_for_app_run(app)
  
      # Wait for the stVerticalBlockBorderWrapper container to switch to scroll-to-bottom:
      expect(
          app.get_by_test_id("stVerticalBlockBorderWrapper").nth(5)
      ).to_have_attribute(
          "data-test-scroll-behavior", "scroll-to-bottom"
      )
  
      assert_snapshot(
          app.get_by_test_id("stVerticalBlockBorderWrapper").nth(5),
          name="st_container-added_chat_message",
      )
  
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 5 for calling a global function with example usage: test_correctly_handles_first_chat_message(app, assert_snapshot) without return types