mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
5a5f87e5a7
* Add components for KV form, KV list and Session form * Pass through a @label attribute for a human label + don't require error * Ignore transition aborted errors for if you are re-transitioning * Make old confirmation dialog more ember-like and tagless * Make sure data-source and data-sink supports KV and sessions * Use new components and delete all the things * Fix up tests * Make list component tagless * Add component pageobject and fixup tests from that * Add eslint warning back in
9 lines
278 B
JavaScript
9 lines
278 B
JavaScript
export default (collection, clickable, attribute, deletable) => () => {
|
|
return collection('.consul-kv-list [data-test-tabular-row]', {
|
|
name: attribute('data-test-kv', '[data-test-kv]'),
|
|
kv: clickable('a'),
|
|
actions: clickable('label'),
|
|
...deletable(),
|
|
});
|
|
};
|