code: def test_output_ray_cluster(call_ray_start):
      script = """
  import ray
  ray.init()
      """
      output = run_string_as_driver(script)
      lines = output.strip("\n").split("\n")
      assert len(lines) >= 1
      assert "Connecting to existing Ray cluster at address:" in output
      assert "Connected to Ray cluster." in output
      if os.environ.get("RAY_MINIMAL") == "1":
          assert "View the dashboard" not in output
      else:
          assert "View the dashboard" in output
  
imports: import os
  import re
  import signal
  import subprocess
  import sys
  import time
  import pytest
  import ray
  from ray._private.test_utils import run_string_as_driver, run_string_as_driver_nonblocking, wait_for_condition
label_desc: Use image node_id 22 for calling a global function with example usage: test_output_ray_cluster(call_ray_start) without return types