Example #1
0
import { triggerable } from 'ember-cli-page-object';
import radiogroup from 'consul-ui/tests/lib/page-object/radiogroup';
export default {
  ...radiogroup('status', ['', 'passing', 'warning', 'critical']),
  ...{
    scope: '[data-test-catalog-filter]',
    search: triggerable('keypress', '[name="s"]'),
  },
};
Example #2
0
import { triggerable } from 'ember-cli-page-object';
import radiogroup from 'consul-ui/tests/lib/page-object/radiogroup';
export default {
  ...radiogroup('action', ['', 'allow', 'deny']),
  ...{
    scope: '[data-test-intention-filter]',
    search: triggerable('keypress', '[name="s"]'),
  },
};
Example #3
0
import { triggerable } from 'ember-cli-page-object';
import radiogroup from 'consul-ui/tests/lib/page-object/radiogroup';
export default {
  ...radiogroup('type', ['', 'management', 'client']),
  ...{
    scope: '[data-test-acl-filter]',
    search: triggerable('keypress', '[name="s"]'),
  },
};