def METHOD_NAME(
    user_code_namespace_for_k8s_run_launcher,
    webserver_url_for_k8s_run_launcher,
):
    # This run_config requires that WORD_FACTOR be set on both the user code deployment
    # and the run launcher. It will only work if secrets are propagated from the deployment
    # to the run launcher, since TEST_DEPLOYMENT_SECRET_NAME is only set on the user code
    # deployment but not on the run launcher config.
    run_config = load_yaml_from_path(
        os.path.join(get_test_project_environments_path(), "env_config_from_secrets.yaml")
    )
    job_name = "demo_job"
    run_id = launch_run_over_graphql(
        webserver_url_for_k8s_run_launcher, run_config=run_config, job_name=job_name
    )
    result = wait_for_job_and_get_raw_logs(
        job_name="dagster-run-%s" % run_id, namespace=user_code_namespace_for_k8s_run_launcher
    )
    assert "PIPELINE_SUCCESS" in result, f"no match, result: {result}"