consul/ui-v2/app/templates/components
John Cowen 327aac9fe9
ui: Acceptance test improvements to prepare for more NS tests (#6980)
* ui: Acceptance test improvements to prepare for more NS tests

* ui: Namespace acceptance testing (#7005)

* Update api-double and consul-api-double for http.body

* Adds places where we missed passing the nspace through

* Hardcode nspace CRUD to use the default nspace for policies and roles

* Alter test helpers to allow us to control nspaces from the outside

* Amends to allow tests to account for namespace, move ns from queryParam

1. We decided to move how we pass the namespace value through to the
backend when performing write actions (create, update). Previoulsy we
were using the queryParam although using the post body is the preferred
method to send the Namespace details through to the backend.
2. Other various amends to take into account testing across multiple
namespaced scenarios

* Enable nspace testing by default

* Remove last few occurances of old style http assertions

We had informally 'deprecated' our old style of http assertions that
relied on the order of http calls (even though that order was not
important for the assertion). Following on from our namespace work we
removed the majority of the old occrances of these old style assertions.

This commit removes the remaining few, and also then cleans up the
assertions/http.js file to only include the ones we are using.

This reduces our available step count further and prevents any confusion
over the usage of the old types and the new types.

* ui: Namespace CRUD acceptance tests (#7016)

* Upgrade consul-api-double

* Add all the things required for testing:

1. edit and index page objects
2. enable CONSUL_NSPACE_COUNT cookie setting
3. enable mutating HTTP response bodies based on URL

* Add acceptance test for nspace edit/delete/list and searching
2020-01-24 12:26:28 +00:00
..
acl-filter.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
action-group.hbs ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
app-view.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
aria-menu.hbs ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
catalog-filter.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
changeable-set.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
child-selector.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
code-editor.hbs UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
confirmation-dialog.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
copy-button-feedback.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
copy-button.hbs UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
delete-confirmation.hbs UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
discovery-chain.hbs ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
dom-buffer-flush.hbs UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
dom-buffer.hbs UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
feedback-dialog.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
form-component.hbs UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
freetext-filter.hbs Use html5 oninput instead of onkeyup for native textual inputs 2018-07-03 15:40:15 +01:00
hashicorp-consul.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
healthcheck-info.hbs UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
healthcheck-list.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
healthcheck-output.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
healthcheck-status.hbs UI: Service Instances (#5326) 2019-05-01 18:22:10 +00:00
healthchecked-resource.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
intention-filter.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
list-collection.hbs UI V2 (#4086) 2018-05-10 19:52:53 +01:00
modal-dialog.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
modal-layer.hbs UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
phrase-editor.hbs ui: {{phrase-editor}} amends (#5991) 2019-09-04 08:35:07 +00:00
policy-form.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
policy-selector.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
popover-menu.hbs ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
radio-group.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
resolver-card.hbs ui: Discovery Chain Improvements (#7036) 2020-01-16 16:31:09 +00:00
role-form.hbs ui: Acceptance test improvements to prepare for more NS tests (#6980) 2020-01-24 12:26:28 +00:00
role-selector.hbs ui: Acceptance test improvements to prepare for more NS tests (#6980) 2020-01-24 12:26:28 +00:00
route-card.hbs ui: Discovery Chain Improvements (#7036) 2020-01-16 16:31:09 +00:00
secret-button.hbs ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
service-identity.hbs UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
sort-control.hbs ui: Adds a `sort-control` component for asc/desc sorting of columns etc (#6034) 2019-09-04 08:35:16 +00:00
splitter-card.hbs ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
stats-card.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
tab-nav.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
tab-section.hbs ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
tabular-collection.hbs ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
tabular-details.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
tag-list.hbs UI: Service Instances (#5326) 2019-05-01 18:22:10 +00:00
templated-anchor.hbs ui: dashboard links (#5704) 2019-05-01 18:22:38 +00:00
toggle-button.hbs ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
token-list.hbs ui: Move slots to use attributes over positional params (#7032) 2020-01-15 09:15:54 +00:00
tomography-graph.hbs UI: Reduce in-development deprecations (also use toLocaleString) (#4677) 2018-10-01 13:42:42 +01:00