consul/ui-v2/tests/helpers
John Cowen 3a0d0833fc ui: Upgrade ember-cli-api-double. Adds new staging env (#6136)
ember-cli-api-double has been upgraded for 3 things:

1. Use the correct configuration flags
2. Automatically include the necessary files to enable the api doubles
without requiring a server. This can be disabled to provide custom
functionality (so we can stitch our BDD style testing in with this)
3. When used statically, read the cookies from the users browser to
enable basic ad-hoc double editing (e.g. CONSUL_SERVICE_COUNT=100000)

Once upgraded we've now moved the config to the correct place, added a
new environment (staging) to use the static-style of doubles
The test environment continues to use custom cookie setting and url
checking so we disable this 'auto importing' by setting 'auto-import' to
false for the configuration for the addon.

We also added a couple of new package script targets to explicitly serve
or build the UI with the entirely static UI.
2019-09-04 08:35:13 +00:00
..
api.js ui: Upgrade ember-cli-api-double. Adds new staging env (#6136) 2019-09-04 08:35:13 +00:00
destroy-app.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
flash-message.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
measure.js UI: Repo layer integration tests (#4454) (#4563) 2018-08-29 10:00:15 +01:00
module-for-acceptance.js ui: Increases the pause between blocking queries to 2000ms (#5582) 2019-05-01 18:22:26 +00:00
normalizers.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
repo.js UI: Repo layer integration tests (#4454) (#4563) 2018-08-29 10:00:15 +01:00
set-cookies.js ui: Upgrade ember-cli-api-double. Adds new staging env (#6136) 2019-09-04 08:35:13 +00:00
start-app.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
stub-super.js Looking into atob functionality, consequence of Value: null 2018-07-05 13:35:06 +01:00
type-to-url.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
yadda-annotations.js Reset `<html class>` after every test, back to its original static value 2018-06-25 12:11:01 +01:00