github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/ui/tests/pages/components/facet.js (about)

     1  import { isPresent, clickable, collection, text, attribute } from 'ember-cli-page-object';
     2  
     3  export default scope => ({
     4    scope,
     5  
     6    isPresent: isPresent(),
     7  
     8    toggle: clickable('[data-test-dropdown-trigger]'),
     9  
    10    options: collection('[data-test-dropdown-option]', {
    11      testContainer: '#ember-testing',
    12      resetScope: true,
    13      label: text(),
    14      key: attribute('data-test-dropdown-option'),
    15      toggle: clickable('label'),
    16    }),
    17  });