code: def test_head003_preserves_column_name_on_cancel(test):
      test.start_server(get_app())
  
      target = test.table("table")
  
      target.column("rows").edit(0)
  
      alert = test.driver.switch_to.alert
      alert.send_keys("Chill")
      alert.dismiss()
  
      assert target.column("rows").get_text(0) == "rows"
      assert test.get_log_errors() == []
  
file_path: dash/components/dash-table/tests/selenium/test_header.py
imports: import dash
  from dash.testing import wait
  from utils import get_props
  from dash.dash_table import DataTable
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_head003_preserves_column_name_on_cancel(test) without return types