mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
8e9fca9be6
* Add model layer support for filtering intentions by service * Add Route, Controller and template for services.show.intentions tab We are still loading the intentions themselves in the parent Route for the moment * Load the intentions in in the parent route for the moment * Temporarily add support for returning to history -1 Once we have an intention form underneath the service/intention tab this will no longer be needed * Add the new tab and enable blocking queries for it * Add some further acceptance testing around intention listings
11 lines
507 B
JavaScript
11 lines
507 B
JavaScript
export default (collection, clickable, attribute, deletable) => () => {
|
|
return collection('.consul-intention-list [data-test-tabular-row]', {
|
|
source: attribute('data-test-intention-source', '[data-test-intention-source]'),
|
|
destination: attribute('data-test-intention-destination', '[data-test-intention-destination]'),
|
|
action: attribute('data-test-intention-action', '[data-test-intention-action]'),
|
|
intention: clickable('a'),
|
|
actions: clickable('label'),
|
|
...deletable(),
|
|
});
|
|
};
|