open-consul/ui-v2/app/templates
Kenia c4f4f4e3c6
ui: Adds an acceptance test for hiding Blocking Queries (#7162)
* Adds an acceptance test for hiding Blocking Queries

* Creates a new scenario - If a user adds CONSUL_UI_DISABLE_REALTIME to localStorage, the Blocking Queries section is hidden.

* Updates page assertion to accept functions and booleans as properties

* ui: Fix "don't see" step to watch for the different pageObject error

ember-cli-page object seems to throw a an error with a different message
depending on how you call a function:

currentPage()[property]() // message = 'Element not found'

const prop = currentPage()[property];
prop() // message = 'Something about destructuring'

This changes the step/test/assertion to ensure we check for both types of errors

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-01-31 10:12:22 -05:00
..
components ui: Fix sticky nspace menu (#7164) 2020-01-31 14:11:46 +00:00
dc ui: Implements the ember-page-title addon to the UI (#7118) 2020-01-28 09:25:52 -05:00
-consul-loading.hbs UI V2 (#4086) 2018-05-10 19:52:53 +01:00
application.hbs ui: Implements the ember-page-title addon to the UI (#7118) 2020-01-28 09:25:52 -05:00
dc.hbs ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
error.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
head.hbs ui: Implements the ember-page-title addon to the UI (#7118) 2020-01-28 09:25:52 -05:00
loading.hbs UI V2 (#4086) 2018-05-10 19:52:53 +01:00
notfound.hbs UI V2 (#4086) 2018-05-10 19:52:53 +01:00
nspace.hbs ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
settings.hbs ui: Adds an acceptance test for hiding Blocking Queries (#7162) 2020-01-31 10:12:22 -05:00