@bigbinary/neeto-playwright-commons 4.2.0 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7400,7 +7400,7 @@ declare const PROFILE_SECTION_SELECTORS: {
7400
7400
  *
7401
7401
  * tableHeaderRoleTitle: Selector for the title in the roles table header.
7402
7402
  *
7403
- * permissionCheckbox: Selector for the permission checkbox.
7403
+ * permissionCheckbox(name): Builder for the add/edit-role pane permission checkbox, keyed on the permission name (e.g. meetings.create_meeting).
7404
7404
  *
7405
7405
  * editRoleButton: Selector for the edit role button in the roles table.
7406
7406
  *
@@ -7431,7 +7431,7 @@ declare const ROLES_SELECTORS: {
7431
7431
  headerColumn: string;
7432
7432
  dropDownIcon: string;
7433
7433
  tableHeaderRoleTitle: string;
7434
- permissionCheckbox: string;
7434
+ permissionCheckbox: (name: string) => string;
7435
7435
  editRoleButton: string;
7436
7436
  deleteRoleButton: string;
7437
7437
  permissionCard: string;
package/index.js CHANGED
@@ -1620,7 +1620,7 @@ const ROLES_SELECTORS = {
1620
1620
  headerColumn: "ntm-roles-table-header",
1621
1621
  dropDownIcon: "ntm-roles-table-header-role-dropdown-button",
1622
1622
  tableHeaderRoleTitle: "ntm-roles-table-header-role-title",
1623
- permissionCheckbox: "ntm-roles-permission-checkbox",
1623
+ permissionCheckbox: (name) => `ntm-roles-permission-checkbox-${hyphenate(name)}`,
1624
1624
  editRoleButton: "ntm-roles-table-edit-role-button",
1625
1625
  deleteRoleButton: "ntm-roles-table-delete-role-button",
1626
1626
  permissionCard: "ntm-roles-permission-card",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "4.2.0",
3
+ "version": "4.2.2",
4
4
  "description": "A package encapsulating common playwright code across neeto projects.",
5
5
  "repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
6
6
  "license": "apache-2.0",