code: def test_ttip001_displays_aligned_tooltip(
      test, fixed_rows, fixed_columns, ops
  ):
      props = {
          **base_props,
          **fixed_rows,
          **fixed_columns,
          **ops,
          **dict(tooltip_data=tooltip_data_text),
      }
  
      app = dash.Dash(__name__)
      app.layout = DataTable(**props)
  
      test.start_server(app)
  
      target = test.table("table")
  
      cell = target.cell(0, 0)
      tooltip = target.tooltip
  
      target.is_ready()
      cell.move_to()
      assert tooltip.exists()
      assert tooltip.get_text() == ";; 1-1"
      assert_aligned(cell.get(), tooltip.get())
  
      mid = math.ceil(len(columns) / 2)
      cell = target.cell(0, mid)
      cell.move_to()
      assert_aligned(cell.get(), tooltip.get())
  
      cell = target.cell(0, len(columns) - 1)
      cell.move_to()
      assert_aligned(cell.get(), tooltip.get())
      assert test.get_log_errors() == []
  
file_path: dash/components/dash-table/tests/selenium/test_tooltip.py
imports: import dash
  import math
  import pytest
  import time
  import dash.testing.wait
  from dash.dash_table import DataTable
label_desc: Use image node_id 2 for calling a global function with example usage: test_ttip001_displays_aligned_tooltip(test, fixed_rows, fixed_columns, ops) without return types