discourse/plugins/poll/test/javascripts/acceptance
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-breakdown-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-builder-disabled-test.js DEV: Move core plugin TL -> group settings (#25355) 2024-01-23 11:35:14 +10:00
poll-builder-enabled-test.js DEV: Move core plugin TL -> group settings (#25355) 2024-01-23 11:35:14 +10:00
poll-in-reply-history-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
poll-pie-chart-test.js DEV: Check for poll element presence (#27765) 2024-07-08 13:58:35 +02:00
poll-quote-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
poll-results-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
polls-bar-chart-test-desktop.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
polls-bar-chart-test-mobile.js DEV: Sort imports 2023-10-10 21:46:54 +01:00