consul/ui-v2/tests/pages/dc/kv/index.js

13 lines
412 B
JavaScript

import { create, visitable, collection, attribute, clickable } from 'ember-cli-page-object';
export default create({
visit: visitable('/:dc/kv'),
kvs: collection('[data-test-tabular-row]', {
name: attribute('data-test-kv', '[data-test-kv]'),
kv: clickable('a'),
actions: clickable('label'),
delete: clickable('li:last-child a'),
confirmDelete: clickable('button.type-delete'),
}),
});