code: def test_tsb_launch_on_trials() -> None:
      with create_workspaces_with_users(
          [
              [
                  (0, ["Editor"]),
              ],
          ]
      ) as ([workspace], creds):
          session = api_utils.determined_test_session(creds[0])
          pid = bindings.post_PostProject(
              session,
              body=bindings.v1PostProjectRequest(
                  name="test", workspaceId=workspace.id
              ),
              workspaceId=workspace.id,
          ).project.id
          with logged_in_user(conf.ADMIN_CREDENTIALS):
              experiment_id = exp.create_experiment(
                  conf.fixtures_path("no_op/single.yaml"),
                  conf.fixtures_path("no_op"),
                  ["--project_id", str(pid)],
              )
  
          trials = bindings.get_GetExperimentTrials(
              session, experimentId=experiment_id
          ).trials
          trial_ids = [t.id for t in trials]
          assert (
              len(trial_ids) == 1
          ), f"we should have 1 trial, but got {trial_ids}"
  
          bindings.post_LaunchTensorboard(
              session,
              body=bindings.v1LaunchTensorboardRequest(
                  workspaceId=workspace.id, trialIds=trial_ids
              ),
          ).tensorboard.id
  
file_path: determined/e2e_tests/tests/cluster/test_rbac_ntsc.py
imports: import contextlib
  from typing import Generator, List, Optional, Sequence
  import pytest
  import tests.config
  from determined.common import api
  from determined.common.api import authentication, bindings, errors
  from tests import api_utils
  from tests import experiment
  from tests.cluster.test_rbac import create_workspaces_with_users, rbac_disabled
  from tests.cluster.test_workspace_org import setup_workspaces
  from .test_groups import det_cmd_json
  from .test_users import logged_in_user
label_desc: Use image node_id 8 for calling a global function with example usage: test_tsb_launch_on_trials() without return types