consul/ui-v2/app/mixins
John Cowen 635beab347 Fix tear down click handler problem in tests
It's not obvious what "the way" to teardown window event handlers is in
Ember. The datacenter-picker is permanently in the app during usage, but
in tests I'm assuming it gets added and removed lots.

So when you run the tests, as the tests aren't run in an isolated runner
the QUnit test runner ends up with a click handler on it, So if you
click on the test runner one of the tests will fail.

The failure is related to there not being an element with a `.contains`
method. So this checks that the element is truthy first, i.e. it exists.
If it doesn't it just bails out.
2018-06-12 11:24:35 +01:00
..
acl UI V2 (#4086) 2018-05-10 19:52:53 +01:00
kv Session Delete confirmation button and KV console error message (#4109) 2018-05-11 16:25:35 +01:00
click-outside.js Fix tear down click handler problem in tests 2018-06-12 11:24:35 +01:00
with-feedback.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
with-filtering.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
with-health-filtering.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00