discourse/app/serializers
Martin Brennan e7cbf15040
DEV: Try fix category form template flaky (#22461)
1) Edit Category when editing a category with form templates set should have form templates enabled and showing the selected templates
     Failure/Error: expect(category_page).to have_selected_template(selected_templates)
       expected `#<PageObjects::Pages::Category:0x00007fdb278fbd30>.has_selected_template?("template_0,template_1")` to be truthy, got false

Wait for CSS rather than trying to compare attr directly
and also make sure the ids are always in order.
2023-07-06 14:42:59 +10:00
..
concerns
about_serializer.rb
admin_badge_serializer.rb
admin_badges_serializer.rb
admin_detailed_user_serializer.rb
admin_email_template_serializer.rb
admin_form_template_serializer.rb
admin_plugin_serializer.rb
admin_user_action_serializer.rb
admin_user_list_serializer.rb
admin_user_serializer.rb
admin_web_hook_event_serializer.rb
admin_web_hook_serializer.rb
api_key_scope_serializer.rb
api_key_serializer.rb
application_serializer.rb
archetype_serializer.rb
associated_group_serializer.rb
auth_provider_serializer.rb
backup_file_serializer.rb
badge_grouping_serializer.rb
badge_index_serializer.rb
badge_serializer.rb
badge_type_serializer.rb
basic_category_serializer.rb
basic_group_history_serializer.rb
basic_group_serializer.rb
basic_group_user_serializer.rb
basic_post_serializer.rb
basic_reviewable_flagged_post_serializer.rb
basic_reviewable_queued_post_serializer.rb
basic_reviewable_serializer.rb
basic_reviewable_user_serializer.rb
basic_theme_serializer.rb
basic_topic_serializer.rb
basic_user_badge_serializer.rb
basic_user_serializer.rb
basic_user_with_status_serializer.rb
category_and_topic_lists_serializer.rb
category_detailed_serializer.rb
category_group_serializer.rb
category_list_serializer.rb
category_required_tag_group_serializer.rb
category_serializer.rb
category_upload_serializer.rb
color_scheme_color_serializer.rb
color_scheme_selectable_serializer.rb
color_scheme_serializer.rb
current_user_option_serializer.rb
current_user_serializer.rb
detailed_tag_serializer.rb
detailed_user_badge_serializer.rb
directory_column_serializer.rb
directory_item_serializer.rb
discourse_version_check_serializer.rb
draft_serializer.rb
edit_directory_column_serializer.rb
email_log_serializer.rb
email_style_serializer.rb
embeddable_host_serializer.rb
embedding_serializer.rb
emoji_serializer.rb
flagged_topic_serializer.rb
flagged_topic_summary_serializer.rb
flagged_user_serializer.rb
flair_group_serializer.rb
form_template_serializer.rb
found_user_serializer.rb
found_user_with_status_serializer.rb
gap_serializer.rb
group_post_serializer.rb
group_post_user_serializer.rb
group_requester_serializer.rb
group_show_serializer.rb
group_user_serializer.rb
grouped_screened_url_serializer.rb
grouped_search_result_serializer.rb
hidden_profile_serializer.rb
inactive_user_serializer.rb
incoming_email_details_serializer.rb
incoming_email_serializer.rb
invite_link_serializer.rb
invite_serializer.rb
invited_serializer.rb
invited_user_record_serializer.rb
invited_user_serializer.rb
listable_topic_serializer.rb
new_post_result_serializer.rb
notification_serializer.rb
penalty_counts_serializer.rb
pending_post_serializer.rb
permalink_serializer.rb
post_action_type_serializer.rb
post_action_user_serializer.rb
post_item_excerpt.rb
post_revision_serializer.rb
post_serializer.rb
post_stream_serializer_mixin.rb
post_wordpress_serializer.rb
poster_serializer.rb
presence_channel_state_serializer.rb
primary_group_serializer.rb
private_message_topic_tracking_state_serializer.rb
published_page_serializer.rb
queued_post_serializer.rb
remote_theme_serializer.rb
reviewable_action_serializer.rb
reviewable_bundled_action_serializer.rb
reviewable_conversation_post_serializer.rb
reviewable_conversation_serializer.rb
reviewable_editable_field_serializer.rb
reviewable_explanation_serializer.rb
reviewable_flagged_post_serializer.rb
reviewable_history_serializer.rb
reviewable_perform_result_serializer.rb
reviewable_post_serializer.rb
reviewable_queued_post_serializer.rb
reviewable_score_explanation_serializer.rb
reviewable_score_serializer.rb
reviewable_score_type_serializer.rb
reviewable_serializer.rb
reviewable_settings_serializer.rb
reviewable_topic_serializer.rb
reviewable_user_serializer.rb
screened_email_serializer.rb
screened_ip_address_serializer.rb
screened_url_serializer.rb
search_logs_serializer.rb
search_post_serializer.rb
search_result_user_serializer.rb
search_topic_list_item_serializer.rb
sidebar_section_serializer.rb
sidebar_url_serializer.rb
similar_admin_user_serializer.rb
similar_topic_serializer.rb
single_sign_on_record_serializer.rb
site_category_serializer.rb
site_serializer.rb
site_text_serializer.rb
skipped_email_log_serializer.rb
suggested_topic_serializer.rb
suggested_topics_mixin.rb
tag_group_serializer.rb
tag_serializer.rb
theme_field_serializer.rb
theme_serializer.rb
theme_settings_serializer.rb
theme_translation_serializer.rb
topic_embed_serializer.rb
topic_flag_type_serializer.rb
topic_link_serializer.rb
topic_list_item_serializer.rb
topic_list_serializer.rb
topic_pending_post_serializer.rb
topic_post_count_serializer.rb
topic_poster_serializer.rb
topic_timer_serializer.rb
topic_tracking_state_item_serializer.rb
topic_tracking_state_serializer.rb
topic_view_details_serializer.rb
topic_view_posts_serializer.rb
topic_view_serializer.rb
topic_view_wordpress_serializer.rb
trust_level3_requirements_serializer.rb
upload_serializer.rb
user_action_serializer.rb
user_auth_token_serializer.rb
user_badge_serializer.rb
user_badges_serializer.rb
user_bookmark_base_serializer.rb
user_bookmark_list_serializer.rb
user_card_serializer.rb
user_field_serializer.rb
user_history_serializer.rb
user_name_serializer.rb
user_option_serializer.rb
user_post_bookmark_serializer.rb
user_post_topic_bookmark_base_serializer.rb
user_serializer.rb
user_status_serializer.rb
user_summary_serializer.rb
user_tag_notifications_serializer.rb
user_topic_bookmark_serializer.rb
user_with_custom_fields_serializer.rb
user_wordpress_serializer.rb
watched_word_list_serializer.rb
watched_word_serializer.rb
web_hook_category_serializer.rb
web_hook_flag_serializer.rb
web_hook_group_serializer.rb
web_hook_group_user_serializer.rb
web_hook_like_serializer.rb
web_hook_post_serializer.rb
web_hook_topic_view_serializer.rb
web_hook_user_serializer.rb
wizard_field_choice_serializer.rb
wizard_field_serializer.rb
wizard_serializer.rb
wizard_step_serializer.rb