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

package.cjs.cypress-utils.constants.selectors.member.js 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
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.neetoFiltersSelectors = exports.memberSelectors = exports.memberFormSelectors = void 0;
var _common = require("../../utils/common");
var memberSelectors = exports.memberSelectors = {
  membersTab: (0, _common.dataCy)("members-nav-tab"),
  newButton: (0, _common.dataCy)("ntm-add-member-button"),
  continueButton: (0, _common.dataCy)("ntm-manage-member-continue-button"),
  submitButton: (0, _common.dataCy)("ntm-manage-member-submit-button"),
  searchTextField: (0, _common.dataCy)("ntm-search-members-input"),
  deactivatedAgentsButton: (0, _common.dataCy)("ntm-members-menubar-deactivated-block"),
  activatedMembersButton: (0, _common.dataCy)("ntm-members-menubar-active-block"),
  columnCheckBox: (0, _common.dataCy)("neeto-ui-columns-checkbox"),
  roleLabel: function roleLabel(role) {
    return (0, _common.dataCy)("".concat((0, _common.joinHyphenCase)(role), "-radio-label"));
  },
  dropDownIcon: (0, _common.dataCy)("ntm-members-table-row-dropdown-button"),
  editButton: (0, _common.dataCy)("ntm-edit-member-button"),
  menuBarHeading: (0, _common.dataCy)("ntm-members-menubar-heading"),
  activateOrDeactivateMember: (0, _common.dataCy)("ntm-deactivate-member-button"),
  columnsButton: (0, _common.dataCy)("columns-dropdown-button"),
  columnsDropdownContainer: (0, _common.dataCy)("columns-dropdown-container"),
  emailDropdownItemLabel: (0, _common.dataCy)("email-checkbox-label"),
  roleDropdownItemLabel: (0, _common.dataCy)("role-checkbox-label"),
  inviteStatusDropdownItemLabel: (0, _common.dataCy)("invite-status-checkbox-label"),
  heading: (0, _common.dataCy)("ntm-manage-members-pane-header"),
  activateButton: (0, _common.dataCy)("ntm-activate-members-button"),
  deactivateButton: (0, _common.dataCy)("ntm-deactivate-members-button"),
  rolesButton: function rolesButton(index) {
    return (0, _common.dataCy)("ntm-manage-member-roles-button", ":eq(".concat(index, ")"));
  },
  statusTag: (0, _common.dataCy)("ntm-member-status-tag"),
  checkbox: (0, _common.dataCy)("ntm-manage-members-app-list-checkbox")
};
var memberFormSelectors = exports.memberFormSelectors = {
  emailTextField: (0, _common.dataCy)("email-select-input-field"),
  firstNameTextField: (0, _common.dataCy)("ntm-edit-member-first-name-text-field"),
  lastNameTextField: (0, _common.dataCy)("ntm-edit-member-last-name-text-field"),
  emailInput: (0, _common.dataCy)("ntm-manage-member-email-input"),
  emailErrorField: (0, _common.dataCy)("emails-input-error"),
  cancelButton: (0, _common.dataCy)("ntm-manage-member-cancel-button")
};
var neetoFiltersSelectors = exports.neetoFiltersSelectors = {
  emailSelectContainer: (0, _common.dataCy)("email-select-container-wrapper"),
  filterPaneHeading: (0, _common.dataCy)("neeto-filters-pane-header"),
  neetoFiltersEmailBlock: (0, _common.dataCy)("neeto-filters-email-block"),
  neetoFiltersRoleBlock: (0, _common.dataCy)("neeto-filters-role-block"),
  neetoFiltersBarClearButton: (0, _common.dataCy)("neeto-filters-bar-clear-btn"),
  neetoFiltersNameFilterField: (0, _common.dataCy)("neeto-filters-name-filter"),
  neetoFilterNameBlock: (0, _common.dataCy)("neeto-filters-name-block"),
  roleSelectContainer: (0, _common.dataCy)("role-select-container-wrapper"),
  filterButton: (0, _common.dataCy)("neeto-filters-toggle-btn"),
  filtersClearButton: (0, _common.dataCy)("neeto-filters-clear-btn"),
  filterDoneButton: (0, _common.dataCy)("neeto-filters-done-btn"),
  filteredMembersCount: (0, _common.dataCy)("ntm-filtered-members-count"),
  allMenubarBlock: (0, _common.dataCy)("ntm-members-menubar-all-block"),
  filtersEmailFilter: (0, _common.dataCy)("neeto-filters-email-filter"),
  paneModalCrossIcon: (0, _common.dataCy)("neeto-filters-close-button")
};
//# sourceMappingURL=member.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy