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/helpers
Martin Brennan 432b839997
FEATURE: Move site updated modal into a less obtrusive prompt (#12577)
This moves the "This site was just updated" modal asking the user if they want to refresh into a subtle prompt that slides down from the header.

Also in this PR I've added a helper to publish message bus messages in JS tests. So instead of this:

```javascript
// Mimic a messagebus message
MessageBus.callbacks
  .filterBy("channel", "/global/asset-version")
  .map((c) => c.func("somenewversion"));
```

We can have:

```javascript
publishToMessageBus("/global/asset-version", "somenewversion");
```
2021-04-07 08:56:48 +10:00
..
component-test.js FEATURE: Move site updated modal into a less obtrusive prompt (#12577) 2021-04-07 08:56:48 +10:00
create-pretender.js FIX: New Topic button regression in tag page (#12613) 2021-04-06 09:31:49 -04:00
create-store.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
d-editor-helper.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
fixture-pretender.js Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
qunit-helpers.js FEATURE: Move site updated modal into a less obtrusive prompt (#12577) 2021-04-07 08:56:48 +10:00
review-pretender.js FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
select-kit-helper.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
site-settings.js FEATURE: Add a site setting to allow emojis to come from an external URL (#12180) 2021-03-02 16:04:16 -03:00
site.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
store-pretender.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
textarea-selection-helper.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
widget-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00