/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { isPresent as present, fillable, clickable, property } from 'ember-cli-page-object';
export const input = function () {
return {
present: present(),
fillIn: fillable(),
};
export const button = function () {
disabled: property('disabled'),
click: clickable(),
export const click = function () {
export const options = function (options, selector = `input`) {
option: options.reduce((prev, item, i) => {
prev[item] = {
click: clickable(selector, { at: i }),
return prev;
}, {}),