discourse/plugins/poll/test/javascripts
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
..
acceptance DEV: Check for poll element presence (#27765) 2024-07-08 13:58:35 +02:00
component DEV: Check for poll element presence (#27765) 2024-07-08 13:58:35 +02:00
helpers DEV: Sort imports 2023-10-10 21:46:54 +01:00