package.cypress-utils.constants.selectors.member.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
{"version":3,"file":"member.js","names":["dataCy","joinHyphenCase","memberSelectors","membersTab","newButton","continueButton","submitButton","searchTextField","deactivatedAgentsButton","activatedMembersButton","columnCheckBox","roleLabel","role","concat","dropDownIcon","editButton","menuBarHeading","activateOrDeactivateMember","columnsButton","columnsDropdownContainer","emailDropdownItemLabel","roleDropdownItemLabel","inviteStatusDropdownItemLabel","heading","activateButton","deactivateButton","rolesButton","index","statusTag","checkbox","memberFormSelectors","emailTextField","firstNameTextField","lastNameTextField","emailInput","emailErrorField","cancelButton","neetoFiltersSelectors","emailSelectContainer","filterPaneHeading","neetoFiltersEmailBlock","neetoFiltersRoleBlock","neetoFiltersBarClearButton","neetoFiltersNameFilterField","neetoFilterNameBlock","roleSelectContainer","filterButton","filtersClearButton","filterDoneButton","filteredMembersCount","allMenubarBlock","filtersEmailFilter","paneModalCrossIcon"],"sources":["../../../../src/cypress-utils/constants/selectors/member.js"],"sourcesContent":["import { dataCy, joinHyphenCase } from \"../../utils/common\";\n\nexport const memberSelectors = {\n membersTab: dataCy(\"members-nav-tab\"),\n newButton: dataCy(\"ntm-add-member-button\"),\n continueButton: dataCy(\"ntm-manage-member-continue-button\"),\n submitButton: dataCy(\"ntm-manage-member-submit-button\"),\n searchTextField: dataCy(\"ntm-search-members-input\"),\n deactivatedAgentsButton: dataCy(\"ntm-members-menubar-deactivated-block\"),\n activatedMembersButton: dataCy(\"ntm-members-menubar-active-block\"),\n columnCheckBox: dataCy(\"neeto-ui-columns-checkbox\"),\n roleLabel: role => dataCy(`${joinHyphenCase(role)}-radio-label`),\n dropDownIcon: dataCy(\"ntm-members-table-row-dropdown-button\"),\n editButton: dataCy(\"ntm-edit-member-button\"),\n menuBarHeading: dataCy(\"ntm-members-menubar-heading\"),\n activateOrDeactivateMember: dataCy(\"ntm-deactivate-member-button\"),\n columnsButton: dataCy(\"columns-dropdown-button\"),\n columnsDropdownContainer: dataCy(\"columns-dropdown-container\"),\n emailDropdownItemLabel: dataCy(\"email-checkbox-label\"),\n roleDropdownItemLabel: dataCy(\"role-checkbox-label\"),\n inviteStatusDropdownItemLabel: dataCy(\"invite-status-checkbox-label\"),\n heading: dataCy(\"ntm-manage-members-pane-header\"),\n activateButton: dataCy(\"ntm-activate-members-button\"),\n deactivateButton: dataCy(\"ntm-deactivate-members-button\"),\n rolesButton: index =>\n dataCy(\"ntm-manage-member-roles-button\", `:eq(${index})`),\n statusTag: dataCy(\"ntm-member-status-tag\"),\n checkbox: dataCy(\"ntm-manage-members-app-list-checkbox\"),\n};\n\nexport const memberFormSelectors = {\n emailTextField: dataCy(\"email-select-input-field\"),\n firstNameTextField: dataCy(\"ntm-edit-member-first-name-text-field\"),\n lastNameTextField: dataCy(\"ntm-edit-member-last-name-text-field\"),\n emailInput: dataCy(\"ntm-manage-member-email-input\"),\n emailErrorField: dataCy(\"emails-input-error\"),\n cancelButton: dataCy(\"ntm-manage-member-cancel-button\"),\n};\n\nexport const neetoFiltersSelectors = {\n emailSelectContainer: dataCy(\"email-select-container-wrapper\"),\n filterPaneHeading: dataCy(\"neeto-filters-pane-header\"),\n neetoFiltersEmailBlock: dataCy(\"neeto-filters-email-block\"),\n neetoFiltersRoleBlock: dataCy(\"neeto-filters-role-block\"),\n neetoFiltersBarClearButton: dataCy(\"neeto-filters-bar-clear-btn\"),\n neetoFiltersNameFilterField: dataCy(\"neeto-filters-name-filter\"),\n neetoFilterNameBlock: dataCy(\"neeto-filters-name-block\"),\n roleSelectContainer: dataCy(\"role-select-container-wrapper\"),\n filterButton: dataCy(\"neeto-filters-toggle-btn\"),\n filtersClearButton: dataCy(\"neeto-filters-clear-btn\"),\n filterDoneButton: dataCy(\"neeto-filters-done-btn\"),\n filteredMembersCount: dataCy(\"ntm-filtered-members-count\"),\n allMenubarBlock: dataCy(\"ntm-members-menubar-all-block\"),\n filtersEmailFilter: dataCy(\"neeto-filters-email-filter\"),\n paneModalCrossIcon: dataCy(\"neeto-filters-close-button\"),\n};\n"],"mappings":"AAAA,SAASA,MAAM,EAAEC,cAAc;AAE/B,OAAO,IAAMC,eAAe,GAAG;EAC7BC,UAAU,EAAEH,MAAM,CAAC,iBAAiB,CAAC;EACrCI,SAAS,EAAEJ,MAAM,CAAC,uBAAuB,CAAC;EAC1CK,cAAc,EAAEL,MAAM,CAAC,mCAAmC,CAAC;EAC3DM,YAAY,EAAEN,MAAM,CAAC,iCAAiC,CAAC;EACvDO,eAAe,EAAEP,MAAM,CAAC,0BAA0B,CAAC;EACnDQ,uBAAuB,EAAER,MAAM,CAAC,uCAAuC,CAAC;EACxES,sBAAsB,EAAET,MAAM,CAAC,kCAAkC,CAAC;EAClEU,cAAc,EAAEV,MAAM,CAAC,2BAA2B,CAAC;EACnDW,SAAS,EAAE,SAAAA,UAAAC,IAAI;IAAA,OAAIZ,MAAM,IAAAa,MAAA,CAAIZ,cAAc,CAACW,IAAI,CAAC,kBAAe;EAAA;EAChEE,YAAY,EAAEd,MAAM,CAAC,uCAAuC,CAAC;EAC7De,UAAU,EAAEf,MAAM,CAAC,wBAAwB,CAAC;EAC5CgB,cAAc,EAAEhB,MAAM,CAAC,6BAA6B,CAAC;EACrDiB,0BAA0B,EAAEjB,MAAM,CAAC,8BAA8B,CAAC;EAClEkB,aAAa,EAAElB,MAAM,CAAC,yBAAyB,CAAC;EAChDmB,wBAAwB,EAAEnB,MAAM,CAAC,4BAA4B,CAAC;EAC9DoB,sBAAsB,EAAEpB,MAAM,CAAC,sBAAsB,CAAC;EACtDqB,qBAAqB,EAAErB,MAAM,CAAC,qBAAqB,CAAC;EACpDsB,6BAA6B,EAAEtB,MAAM,CAAC,8BAA8B,CAAC;EACrEuB,OAAO,EAAEvB,MAAM,CAAC,gCAAgC,CAAC;EACjDwB,cAAc,EAAExB,MA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