UNPKG

umbraco-cypress-testhelpers

Version:

Test helpers for making Cypress tests for Umbraco solutions

18 lines (16 loc) 580 B
import { BaseProperty } from './baseProperty'; /** * @param {string} name Property name * @param {string} alias Property alias * @param {boolean} multiSelect Bool if Dropdown values can be multi selected * @param {string[]} values Optional string array of values in the dropdown */ export class DropDownProperty extends BaseProperty { public values: string[]; public multiSelect: boolean; constructor(name: string, alias: string, multiSelect = false, values?: string[]) { super(name, alias); this.values = values; this.multiSelect = multiSelect; } }