2022-05-16 14:32:04 +02:00
|
|
|
// createApp test
|
|
|
|
export const CREATE_APP_BUTTON = '[data-cy="create-app-btn"]'
|
|
|
|
export const TEMPLATE_CATEGORY_FILTER = ".template-category-filters"
|
|
|
|
export const TEMPLATE_CATEGORY = ".template-categories"
|
|
|
|
export const APP_TABLE = ".appTable"
|
|
|
|
export const SPECTRUM_BUTTON_TEMPLATE = ".spectrum-Button"
|
|
|
|
export const TEMPLATE_CATEGORY_ACTIONGROUP = ".template-category"
|
|
|
|
export const TEMPLATE_CATEGORY_FILTER_ACTIONBUTTON =
|
|
|
|
".template-category-filters .spectrum-ActionButton"
|
|
|
|
export const SPECTRUM_MODAL = ".spectrum-Modal"
|
2022-05-18 13:09:58 +02:00
|
|
|
export const APP_NAME_INPUT = "input" // we need to update this with atribute cy-data;
|
2022-05-16 14:32:04 +02:00
|
|
|
export const SPECTRUM_BUTTON_GROUP = ".spectrum-ButtonGroup"
|
|
|
|
export const SPECTRUM_MODAL_INPUT = ".spectrum-Modal input"
|
2022-05-18 13:09:58 +02:00
|
|
|
|
|
|
|
//AddMultiOptionDatatype test
|
|
|
|
export const CATEGORY_DATA = '[data-cy="category-Data"]'
|
|
|
|
export const COMPONENT_DATA_PROVIDER = '[data-cy="component-Data Provider"]'
|
|
|
|
export const DATASOURCE_PROP_CONTROL = '[data-cy="dataSource-prop-control"]'
|
|
|
|
export const DROPDOWN = ".dropdown"
|
2022-05-31 16:01:11 +02:00
|
|
|
export const SPECTRUM_PICKER_LABEL = ".spectrum-Picker-label"
|
2022-05-18 13:09:58 +02:00
|
|
|
export const DATASOURCE_FIELD_CONTROL = '[data-cy="field-prop-control"]'
|
2022-05-18 15:29:22 +02:00
|
|
|
export const OPTION_TYPE_PROP_CONTROL = '[data-cy="optionsType-prop-control'
|
|
|
|
|
|
|
|
//AddRadioButtons
|
|
|
|
export const SPECTRUM_POPOVER = ".spectrum-Popover"
|
|
|
|
export const OPTION_SOURCE_PROP_CONROL = '[data-cy="optionsSource-prop-control'
|
2022-05-23 10:36:54 +02:00
|
|
|
export const APP_TABLE_STATUS = ".appTable .app-status"
|
|
|
|
export const APP_TABLE_ROW_ACTION = ".appTable .app-row-actions"
|
|
|
|
export const DEPLOYMENT_TOP_NAV_GLOBESTRIKE =
|
|
|
|
".deployment-top-nav svg[aria-label=GlobeStrike]"
|
|
|
|
export const DEPLOYMENT_TOP_GLOBE = ".deployment-top-nav svg[aria-label=Globe]"
|
|
|
|
export const PUBLISH_POPOVER_MENU = '[data-cy="publish-popover-menu"]'
|
|
|
|
export const PUBLISH_POPOVER_ACTION = '[data-cy="publish-popover-action"]'
|
|
|
|
export const PUBLISH_POPOVER_MESSAGE = ".publish-popover-message"
|
|
|
|
export const SPECTRUM_BUTTON = ".spectrum-Button"
|
|
|
|
export const TOPRIGHTNAV_BUTTON_SPECTRUM = ".toprightnav button.spectrum-Button"
|
2022-05-30 14:45:04 +02:00
|
|
|
|
|
|
|
//createComponents
|
2022-05-31 16:01:11 +02:00
|
|
|
export const SETTINGS = "[data-cy=Settings]"
|
2022-05-30 14:45:04 +02:00
|
|
|
export const SETTINGS_INPUT = "[data-cy=setting-text] input"
|
2022-05-31 16:01:11 +02:00
|
|
|
export const DESIGN = "[data-cy=Design]"
|
|
|
|
export const FONT_SIZE_PROP_CONTRO = "[data-cy=font-size-prop-control]"
|
2022-05-30 14:45:04 +02:00
|
|
|
export const DATA_CY_DATASOURCE = "[data-cy=setting-dataSource]"
|
|
|
|
export const DROPDOWN_CONTAINER = ".dropdown-container"
|
2022-05-31 16:01:11 +02:00
|
|
|
export const SPECTRUM_PICKER = ".spectrum-Picker"
|
2022-05-31 17:39:05 +02:00
|
|
|
|
|
|
|
//autoScreens
|
|
|
|
export const LABEL_ADD_CIRCLE = "[aria-label=AddCircle]"
|
|
|
|
export const ITEM_DISABLED = ".item.disabled"
|
|
|
|
export const CONFIRM_WRAP_SPE_BUTTON = ".confirm-wrap .spectrum-Button"
|
|
|
|
export const DATA_SOURCE_ENTRY = ".data-source-entry"
|
|
|
|
export const NAV_ITEMS_CONTAINER = ".nav-items-container"
|
2022-06-01 09:23:15 +02:00
|
|
|
|
|
|
|
//publishWorkFlow
|
|
|
|
export const DEPLOY_APP_MODAL = ".spectrum-Modal [data-cy=deploy-app-modal]"
|
|
|
|
export const DEPLOY_APP_URL_INPUT = "[data-cy=deployed-app-url] input"
|
|
|
|
export const GLOBESTRIKE = "svg[aria-label=GlobeStrike]"
|
|
|
|
export const GLOBE = "svg[aria-label=Globe]"
|
|
|
|
export const UNPUBLISH_MODAL = "[data-cy=unpublish-modal]"
|
|
|
|
export const CONFIRM_WRAP_BUTTON = ".confirm-wrap button"
|