mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
e22acaa565
The test was dependent on a translation string. Under certain seeds, the translation string for `{{category-drop}}`'s `noCategoriesLabel` is broken. This is because the value is calculated the first time a `{{category-drop}}` is rendered during the suite. If that first time happens to be during a test which is messing with `I18n.translations`, then it will cache a broken value. Maybe this should be fixed in a future commit... but for now moving to `data-value` will make the `tags-test` more robust and will stop the flakiness. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |