def METHOD_NAME(frontend_session, wait_for_healthchecks):
    test_urn = create_test(frontend_session)
    test_name = "new name"
    test_category = "new category"
    test_description = "new description"
    test_description = "new description"
    # Update Test
    update_test_json = {
        "query": """mutation updateTest($urn: String!, $input: UpdateTestInput!) {\n
            updateTest(urn: $urn, input: $input)
        }""",
        "variables": {
            "urn": test_urn,
            "input": {
                "name": test_name,
                "category": test_category,
                "description": test_description,
                "definition": {"json": "{}"},
            },
        },
    }
    response = frontend_session.post(
        f"{get_frontend_url()}/api/v2/graphql", json=update_test_json
    )
    response.raise_for_status()
    res_data = response.json()
    assert res_data
    assert res_data["data"]
    assert res_data["data"]["updateTest"] is not None
    assert "errors" not in res_data
    # Get the test
    get_test_json = {
        "query": """query test($urn: String!) {\n
            test(urn: $urn) { \n
              urn\n
              name\n
              category\n
              description\n
              definition {\n
                json\n
              }\n
            }
        }""",
        "variables": {"urn": test_urn},
    }
    response = frontend_session.post(
        f"{get_frontend_url()}/api/v2/graphql", json=get_test_json
    )
    response.raise_for_status()
    res_data = response.json()
    assert res_data
    assert res_data["data"]
    assert res_data["data"]["test"] == {
        "urn": test_urn,
        "name": test_name,
        "category": test_category,
        "description": test_description,
        "definition": {
            "json": "{}",
        },
    }
    assert "errors" not in res_data
    delete_test(frontend_session, test_urn)