discourse/spec/system
Andrei Prigorshnev fbe0e4c78c
DEV: make sure we don't load all data into memory when exporting chat messages (#22276)
This commit makes sure we don't load all data into memory when doing CSV exports. 
The most important change here made to the recently introduced export of chat 
messages (3ea31f4). We were loading all data into memory in the first version, with 
this commit it's not the case anymore.

Speaking of old exports. Some of them already use find_each, and it worked as 
expected, without loading all data into memory. And it will proceed working as 
expected after this commit.

In general, I made sure this change didn't break other CSV exports, first manually, and 
then by writing system specs for them. Sadly, I haven't managed yet to make those 
specs stable, they work fine locally, but flaky in GitHub actions, so I've disabled them 
for now.

I'll be making more changes to the CSV exports code soon, those system specs will be 
very helpful. I'll be running them locally, and I hope I'll manage to make them stable 
while doing that work.
2023-07-12 18:52:18 +04:00
..
composer DEV: Add diffhtml composer preview specs (#22333) 2023-06-29 09:37:44 +02:00
emojis DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
helpers DEV: make sure we don't load all data into memory when exporting chat messages (#22276) 2023-07-12 18:52:18 +04:00
page_objects DEV: make sure we don't load all data into memory when exporting chat messages (#22276) 2023-07-12 18:52:18 +04:00
user_page DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
admin_customize_form_templates_spec.rb DEV: Add support for uploads to form templates (#22232) 2023-06-28 12:49:05 -07:00
admin_customize_themes_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
bookmarks_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
category_edit_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
category_topics_spec.rb FIX: update unread and new count for categories (#22145) 2023-06-21 13:42:30 +10:00
csv_exports_spec.rb DEV: make sure we don't load all data into memory when exporting chat messages (#22276) 2023-07-12 18:52:18 +04:00
custom_sidebar_sections_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
discovery_breadcrumb_navigation_spec.rb DEV: Fix random typos (#22078) 2023-06-13 22:02:21 +02:00
dismiss_topics_spec.rb FIX: Can't dismiss new topics for experimental new new view (#22484) 2023-07-07 08:28:27 +08:00
editing_sidebar_categories_navigation_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
editing_sidebar_community_section_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
editing_sidebar_tags_navigation_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
ember_deprecation_test.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
fast_edit_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
filtering_topics_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
hashtag_autocomplete_spec.rb FIX: Add aria-label attribute to cooked hashtags (#22182) 2023-06-20 15:47:17 +10:00
network_disconnected_spec.rb DEV: Ensure browser network conditions is reset in system tests (#22404) 2023-07-04 13:22:58 +08:00
reviewables_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
search_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
tag_notification_level_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
tag_synonyms_spec.rb DEV: Fix random typos (#22078) 2023-06-13 22:02:21 +02:00
topic_page_spec.rb DEV: Try to de-flake topic page specs (#22065) 2023-06-13 11:05:19 +02:00
topic_summarization_spec.rb FEATURE: Inline topic summary. Cached version accessible to everyone. (#22551) 2023-07-12 11:21:51 -03:00
user_preferences_interface_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
user_preferences_navigation_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
user_selector_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
viewing_category_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
viewing_navigation_menu_preferences_spec.rb UX: Use modals to edit categories and tags that appear in sidebar (#22295) 2023-06-28 07:20:31 +08:00
viewing_sidebar_as_anonymous_user_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
viewing_sidebar_mobile_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
viewing_sidebar_spec.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00
viewing_user_private_messages_spec.rb FIX: Broken group messages inboxes when group name is mixed case (#22183) 2023-06-19 17:36:04 +08:00