code: def test_tap_reports_all_indices_on_overlap(
      self, single_plot_page: SinglePlotPage
  ) -> None:
      plot = figure(height=800, width=1000, tools="")
      plot.rect(x=[1, 1], y=[1, 1], width=1, height=1)
      plot.add_tools(
          TapTool(
              callback=CustomJS(
                  code=RECORD(
                      "indices", "cb_data.source.selected.indices"
                  )
              )
          )
      )
  
      page = single_plot_page(plot)
  
      page.click_canvas_at_position(plot, 400, 500)
      assert set(page.results["indices"]) == {0, 1}
  
      assert page.has_no_console_errors()
  
file_path: bokeh/tests/integration/tools/test_tap_tool.py
imports: from __future__ import annotations
  import pytest
  from bokeh.models import CustomJS, TapTool
  from bokeh.plotting import figure
  from tests.support.plugins.project import SinglePlotPage
  from tests.support.util.selenium import RECORD
label_desc: Use image node_id 3 for calling the Test_TapTool obj's underlying member method code with example usage: obj.test_tap_reports_all_indices_on_overlap(single_plot_page) without return types