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
Robin Ward c60cdab1fe
FIX: Invite acceptance tests were broken in Ember CLI (#12367)
* FIX: Invite acceptance tests were broken in Ember CLI

They relied on old Ember behavior where the app does not boot until
`visit` is called and this is no longer true.

This refactors the test to DRY stuff up a bit, and modify the DOM where
necessary in `needs.hooks.beforeEach`.

* Update app/assets/javascripts/discourse/tests/acceptance/invite-accept-test.js

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2021-03-12 09:00:39 -05:00
..
acceptance FIX: Invite acceptance tests were broken in Ember CLI (#12367) 2021-03-12 09:00:39 -05:00
fixtures FEATURE: allow category group moderators to pin/unpin topics (#12325) 2021-03-09 16:05:11 -05:00
helpers UX: pasting a twitter link into composer title will not set the title (#12332) 2021-03-10 15:49:56 -05:00
integration FIX: Flaky JS tests (#12331) 2021-03-10 08:27:42 -05:00
unit FIX: subfolder prefix should work even if url starts with the prefix (#12284) 2021-03-04 16:46:22 -05:00
index.html A couple important Ember CLI fixes (#12345) 2021-03-11 14:40:25 -05:00
plugin_tests.js.erb FIX: Load .js files from plugins in qunit testing env (#11304) 2020-12-03 10:25:42 -06:00
setup-tests.js FIX: QUnit tests could time out based on load order (#12342) 2021-03-10 13:32:20 -05:00
test_helper.js DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
test-helper.js DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00