This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/integration/widgets
Joffrey JAFFEUX 68a032a734
DEV: prevents test timeout (#12631)
Clock manipulation seems not reliable in component tests. This blog post does a great job of explaining it: https://dockyard.com/blog/2018/04/18/bending-time-in-ember-tests

Sadly, we don't have all the "recent" ember test helpers and can't use things like `getSettledState()`.

For now this pattern seems the most reliable and easy to apply, albeit not great.

Note if you wish to reproduce the current timeout, the following command should do it: `QUNIT_SEED=215263717493121190480103670124734840282 rake qunit:test`
2021-04-07 15:50:06 +02:00
..
actions-summary-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
avatar-flair-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
button-test.js FIX: Tests were broken in Firefox (#12456) 2021-03-22 11:35:51 +11:00
default-notification-item-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
hamburger-menu-test.js FIX: Only refresh the review count when the user can see the review queue. (#12453) 2021-03-19 16:20:41 -03:00
header-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
home-logo-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
post-links-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
post-menu-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
post-stream-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
post-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
poster-name-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
quick-access-item-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
small-user-list-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
software-update-prompt-test.js DEV: prevents test timeout (#12631) 2021-04-07 15:50:06 +02:00
topic-admin-menu-test.js FIX: Clean up topic-timer-info CSS classes, add edit button, and improve UI (#12080) 2021-02-16 12:07:30 +10:00
topic-participant-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
topic-status-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
user-menu-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
widget-dropdown-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
widget-test.js A11Y: makes user notifications list more accessible (#11992) 2021-02-08 08:45:14 +01:00