9e711b2792
* Add sorting to namespaces * Add sorting to namespaces * ui: Fix up default namespace no delete test (#8467) Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
9 lines
328 B
JavaScript
9 lines
328 B
JavaScript
export default (collection, clickable, attribute, text, actions) => () => {
|
|
return collection('.consul-nspace-list [data-test-list-row]', {
|
|
nspace: clickable('a'),
|
|
name: attribute('data-test-nspace', '[data-test-nspace]'),
|
|
description: text('[data-test-description]'),
|
|
...actions(['edit', 'delete']),
|
|
});
|
|
};
|