def METHOD_NAME(
    page_type_page_reference_attribute,
    staff_api_client,
    page_list,
    page_type,
    permission_manage_pages,
):
    page = page_list[0]
    page_ref = page_list[1]
    query = PAGE_BULK_DELETE_MUTATION
    page_type.page_attributes.add(page_type_page_reference_attribute)
    attr_value = AttributeValue.objects.create(
        attribute=page_type_page_reference_attribute,
        name=page.title,
        slug=f"{page.pk}_{page_ref.pk}",
        reference_page=page_ref,
    )
    associate_attribute_values_to_instance(
        page, page_type_page_reference_attribute, attr_value
    )
    reference_id = graphene.Node.to_global_id("Page", page_ref.pk)
    variables = {"ids": [reference_id]}
    response = staff_api_client.post_graphql(
        query, variables, permissions=[permission_manage_pages]
    )
    content = get_graphql_content(response)
    data = content["data"]["pageBulkDelete"]
    with pytest.raises(attr_value._meta.model.DoesNotExist):
        attr_value.refresh_from_db()
    with pytest.raises(page_ref._meta.model.DoesNotExist):
        page_ref.refresh_from_db()
    assert not data["errors"]