open-consul/ui/packages/consul-ui/app/components/popover-select/pageobject.js

11 lines
253 B
JavaScript

export default (clickable, collection) =>
(scope = '.popover-select') => {
return {
scope: scope,
selected: clickable('button'),
options: collection('li[role="none"]', {
button: clickable('button'),
}),
};
};