All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.cypress-utils.constants.selectors.common.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"common.js","names":["_common","require","commonSelectors","alertTitle","dataCy","alertModalMessage","alertModalSubmitButton","checkbox","checkboxLabel","dropdownContainer","dropdownIcon","heading","paneBody","paneHeader","profileSidebar","selectOption","label","concat","hyphenize","toastMessage","toastCloseButton","windowAlert","body","toastIcon","paneModalCrossIcon","inputField","alertConfirmationText","alertCancelButton","alertModalCrossIcon","saveChangesButton","cancelButton","inputFieldError","selectDropDownError","subTitleHeading","index","noDataTitle","noDataDescription","backdrop","menuBarHeading","nthTabItem","dropdownWrapper","toggleButton","tooltip","articlePageTitle","tabItem","labelInputError","urlInputError","noDataPrimaryButton","modalHeader","nameInputError","selectContainer","dropdownMenu","nthDropdownIcon","sidebarToggle","customDataCy","name","leftSubHeader","subheader","settingsLink","nthInputField","ticketFieldTextInput","exports","tableSelectors","nthColumn","n","tableBody","tableHeader","tableRow","spinner","nthHeading","profileSelectors","tab","logoutLink","myProfileButton","organizationSettingsButton","loader","dataTestId","appSwitcherBody","sidebarInfo","appSwitcherBackButton"],"sources":["../../../../../src/cypress-utils/constants/selectors/common.js"],"sourcesContent":["import { dataCy, dataTestId, hyphenize } from \"../../utils/common\";\n\nexport const commonSelectors = {\n  alertTitle: dataCy(\"alert-title\"),\n  alertModalMessage: dataCy(\"alert-message\"),\n  alertModalSubmitButton: dataCy(\"alert-submit-button\"),\n  checkbox: dataCy(\"nui-checkbox-input\"),\n  checkboxLabel: dataCy(\"nui-checkbox-label\"),\n  dropdownContainer: dataCy(\"nui-dropdown-container\"),\n  dropdownIcon: dataCy(\"nui-dropdown-icon\"),\n  heading: dataCy(\"main-header\"),\n  paneBody: dataCy(\"pane-body\"),\n  paneHeader: dataCy(\"pane-header\"),\n  profileSidebar: dataCy(\"profile-section\"),\n  selectOption: label => dataCy(`${hyphenize(label)}-select-option`),\n  toastMessage: dataCy(\"toastr-message-container\"),\n  toastCloseButton: dataCy(\"toastr-close-button\"),\n  windowAlert: \"#alert-box\",\n  body: \"body\",\n  toastIcon: \".Toastify__toast-icon\",\n  paneModalCrossIcon: dataCy(\"pane-close-button\"),\n  inputField: dataCy(\"nui-input-field\"),\n  alertConfirmationText: dataCy(\"alert-confirmation-text\"),\n  alertCancelButton: dataCy(\"alert-cancel-button\"),\n  alertModalCrossIcon: dataCy(\"modal-close-button\"),\n  saveChangesButton: dataCy(\"save-changes-button\"),\n  cancelButton: dataCy(\"cancel-button\"),\n  inputFieldError: dataCy(\"nui-input-error\"),\n  selectDropDownError: dataCy(\"nui-select-error\"),\n  subTitleHeading: index => dataCy(\"menubar-subtitle-heading\", `:eq(${index})`),\n  noDataTitle: dataCy(\"no-data-title\"),\n  noDataDescription: dataCy(\"no-data-description\"),\n  backdrop: dataCy(\"neeto-backdrop\"),\n  menuBarHeading: dataCy(\"menubar-heading\"),\n  nthTabItem: index => dataCy(\"tab-item\", `:eq(${index})`),\n  dropdownWrapper: index =>\n    dataCy(\"nui-select-container-wrapper\", `:eq(${index})`),\n  toggleButton: dataCy(\"menubar-toggle-button\"),\n  tooltip: dataCy(\"tooltip-box\"),\n  articlePageTitle: \".serene-article__title\",\n  tabItem: dataCy(\"tab-item\"),\n  labelInputError: dataCy(\"label-input-error\"),\n  urlInputError: dataCy(\"url-input-error\"),\n  noDataPrimaryButton: dataCy(\"no-data-primary-button\"),\n  modalHeader: dataCy(\"modal-header\"),\n  nameInputError: dataCy(\"name-input-error\"),\n  selectContainer: dataCy(\"nui-select-container\"),\n  dropdownMenu: dataCy(\"nui-select-menu\"),\n  nthDropdownIcon: index => dataCy(\"nui-dropdown-icon\", `:eq(${index})`),\n  sidebarToggle: dataCy(\"neeto-molecules-sidebar-toggler\"),\n  customDataCy: name => dataCy(name),\n  leftSubHeader: dataCy(\"subheader-left\"),\n  subheader: dataCy(\"subheader\"),\n  settingsLink: dataCy(\"Settings\"),\n  nthInputField: index => dataCy(\"nui-input-field\", `:eq(${index})`),\n  ticketFieldTextInput: label => dataCy(`${hyphenize(label)}-text-input`),\n};\n\nexport const tableSelectors = {\n  nthColumn: n => `td:nth-child(${n})`,\n  tableBody: \".ant-table-body\",\n  tableHeader: \".ant-table-thead th\",\n  tableRow: \".ant-table-tbody tr\",\n  spinner: \".ant-spin\",\n  nthHeading: n => `tr > th:nth-child(${n})`,\n};\n\nexport const profileSelectors = {\n  tab: dataCy(\"profile-section\"),\n  logoutLink: dataCy(\"profile-logout-button\"),\n  myProfileButton: dataCy(\"my-profile-button\"),\n  organizationSettingsButton: dataCy(\"profile-organization-settings-button\"),\n  loader: dataTestId(\"spinner\"),\n  appSwitcherBody: dataCy(\"app-switcher-body-wrapper\"),\n  sidebarInfo: dataCy(\"sidebar-info\"),\n  appSwitcherBackButton: dataCy(\"app-switcher-back-button\"),\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEO,IAAMC,eAAe,GAAG;EAC7BC,UAAU,EAAE,IAAAC,cAAM,EAAC,aAAa,CAAC;EACjCC,iBAAiB,EAAE,IAAAD,cAAM,EAAC,eAAe,CAAC;EAC1CE,sBAAsB,EAAE,IAAAF,cAAM,EAAC,qBAAqB,CAAC;EACrDG,QAAQ,EAAE,IAAAH,cAAM,EAAC,oBAAoB,CAAC;EACtCI,aAAa,EAAE,IAAAJ,cAAM,EAAC,oBAAoB,CAAC;EAC3CK,iBAAiB,EAAE,IAAAL,cAAM,EAAC,wBAAwB,CAAC;EACnDM,YAAY,EAAE,IAAAN,cAAM,EAAC,mBAAmB,CAAC;EACzCO,OAAO,EAAE,IAAAP,cAAM,EAAC,aAAa,CAAC;EAC9BQ,QAAQ,EAAE,IAAAR,cAAM,EAAC,WAAW,CAAC;EAC7BS,UAAU,EAAE,IAAAT,cAAM,EAAC,aAAa,CAAC;EACjCU,cAAc,EAAE,IAAAV,c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