discourse/plugins/poll/test/javascripts/component
Jarek Radosz 619f132f57
DEV: Check for poll element presence (#27765)
Fixes a flaky test. `afterUpdate` from chart.js is not integrated with the runloop and component lifecycle, as a result we have no guarantee on when it will happen. The easiest change we can do for now is ensuring we actually have the DOM we expect to have, and if not, we exit early.


Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: merefield <merefield@gmail.com>
2024-07-08 13:58:35 +02:00
..
poll-buttons-dropdown-test.js FEATURE: Add Instant Run-off Voting to Poll Plugin (Part 1: migrate existing plugin to Glimmer only) (#27204) 2024-07-04 13:34:48 +02:00
poll-info-test.js FIX: Poll: critical display issue when results are only shown upon vote (#27732) 2024-07-05 10:55:14 +02:00
poll-options-test.js FIX: Allow safe html in poll options (#27741) 2024-07-07 15:08:00 +02:00
poll-results-pie-test.js DEV: Check for poll element presence (#27765) 2024-07-08 13:58:35 +02:00
poll-results-standard-test.js DEV: Check for poll element presence (#27765) 2024-07-08 13:58:35 +02:00
poll-test.js FEATURE: Add Instant Run-off Voting to Poll Plugin (Part 1: migrate existing plugin to Glimmer only) (#27204) 2024-07-04 13:34:48 +02:00
poll-ui-builder-test.js FEATURE: Configure poll 'public' default via site setting (#24348) 2023-11-13 18:54:21 +00:00