def METHOD_NAME(
    staff_api_client, collection, category, page, permission_manage_menus
):
    # given
    query = """
        mutation MenuCreate(
            $name: String!
        ) {
            menuCreate(input: { name: $name}) {
                menu {
                    name
                    slug
                }
            }
        }
    """
    existing_menu = Menu.objects.create(name="test-menu", slug="test-menu")
    variables = {
        "name": "test-menu",
    }
    # when
    response = staff_api_client.post_graphql(
        query, variables, permissions=[permission_manage_menus]
    )
    # then
    content = get_graphql_content(response)
    assert content["data"]["menuCreate"]["menu"]["name"] == existing_menu.name
    assert content["data"]["menuCreate"]["menu"]["slug"] == f"{existing_menu.slug}-2"