code: def test_renders_scroll_container(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.container(height=<pixels>) renders a scroll container."""
  
      scroll_container = app.get_by_test_id(
          "stVerticalBlockBorderWrapper"
      ).nth(4)
      expect(scroll_container).to_have_css("overflow", "auto")
      expect(scroll_container).to_have_css("height", "200px")
      expect(scroll_container).to_have_attribute(
          "data-test-scroll-behavior", "normal"
      )
      assert_snapshot(
          scroll_container, name="st_container-scroll_container"
      )
  
      scroll_container_empty = app.get_by_test_id(
          "stVerticalBlockBorderWrapper"
      ).nth(5)
      expect(scroll_container_empty).to_have_css("overflow", "auto")
      expect(scroll_container_empty).to_have_css("height", "100px")
      expect(scroll_container_empty).to_have_attribute(
          "data-test-scroll-behavior", "normal"
      )
      assert_snapshot(
          scroll_container_empty,
          name="st_container-scroll_container_empty",
      )
  
      # This one should be pinned to the bottom:
      scroll_container_chat = app.get_by_test_id(
          "stVerticalBlockBorderWrapper"
      ).nth(6)
      expect(scroll_container_chat).to_have_css("overflow", "auto")
      expect(scroll_container_chat).to_have_css("height", "200px")
      expect(scroll_container_chat).to_have_attribute(
          "data-test-scroll-behavior", "scroll-to-bottom"
      )
      assert_snapshot(
          scroll_container_chat,
          name="st_container-scroll_container_chat",
      )
  
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 4 for calling a global function with example usage: test_renders_scroll_container(app, assert_snapshot) without return types