open-consul/ui-v2/tests/helpers
John Cowen 834479d56f 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
flash-message.js
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
stub-super.js
type-to-url.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
yadda-annotations.js