def METHOD_NAME(
    app_api_client,
    page_list,
    page_file_attribute,
    permission_manage_pages,
):
    # given
    app_api_client.app.permissions.add(permission_manage_pages)
    page = page_list[1]
    page_count = len(page_list)
    page_type = page.page_type
    value = page_file_attribute.values.first()
    page_type.page_attributes.add(page_file_attribute)
    associate_attribute_values_to_instance(page, page_file_attribute, value)
    variables = {
        "ids": [graphene.Node.to_global_id("Page", page.pk) for page in page_list]
    }
    # when
    response = app_api_client.post_graphql(PAGE_BULK_DELETE_MUTATION, variables)
    # then
    content = get_graphql_content(response)
    data = content["data"]["pageBulkDelete"]
    assert not data["errors"]
    assert data["count"] == page_count
    with pytest.raises(page._meta.model.DoesNotExist):
        page.refresh_from_db()
    with pytest.raises(value._meta.model.DoesNotExist):
        value.refresh_from_db()
    assert not Page.objects.filter(id__in=[page.id for page in page_list]).exists()