code: def test_data_editor_add_row_via_trailing_row(app: Page):
      """Test that a row can be added by clicking on the trailing row."""
      data_editor_element = app.get_by_test_id("stDataFrame").nth(1)
      expect(data_editor_element).to_have_css("height", "248px")
  
      # Click on the trailing row:
      data_editor_element.click(position={"x": 40, "y": 220})
  
      # The height should reflect that one row is added (248px+35px=283px):
      expect(data_editor_element).to_have_css("height", "283px")
  
file_path: streamlit/e2e_playwright/st_dataframe_interactions_test.py
imports: import pytest
  from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 6 for calling a global function with example usage: test_data_editor_add_row_via_trailing_row(app) without return types