0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-calendar/spec/system
Alan Guo Xiang Tan e19d562151
DEV: Fix flaky category calendar color mapping tests (#37256)
What is the problem?

The category calendar color mapping system tests are flaky. The tests
wait for `.fc-daygrid-event-harness` to appear then immediately call
`find(".fc-daygrid-event-dot")`. Since the dot element renders slightly
after its parent container, this causes intermittent
`Capybara::ElementNotFound` errors.

What is the solution?

Wait for `.fc-daygrid-event-dot` directly instead of
`.fc-daygrid-event-harness`. This ensures the target element is present
before `find()` is called, eliminating the race condition.
2026-01-22 10:38:47 +08:00
..
composer FEATURE: inline event editor for the rich editor (#36675) 2026-01-12 09:48:53 -03:00
page_objects/discourse_calendar FEATURE: allow picking first day of week in calendar (#34670) 2025-09-02 12:44:50 +02:00
calendar_first_day_of_week_spec.rb FEATURE: allow picking first day of week in calendar (#34670) 2025-09-02 12:44:50 +02:00
category_calendar_spec.rb DEV: Fix flaky category calendar color mapping tests (#37256) 2026-01-22 10:38:47 +08:00
core_features_spec.rb
disable_sort_spec.rb
group_timezones_spec.rb
post_calendar_spec.rb FEATURE: allow picking first day of week in calendar (#34670) 2025-09-02 12:44:50 +02:00
post_event_spec.rb DEV: Use CDP to override browser timezone in system specs (#36880) 2025-12-29 09:23:17 +10:00
upcoming_events_spec.rb FEATURE: adds calendar_upcoming_events_default_view setting (#36014) 2025-11-13 19:19:13 +08:00