@bigbinary/neeto-playwright-commons 5.2.1 → 5.2.3

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 +10 -1
  2. package/index.js +7 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6262,10 +6262,16 @@ declare const fixedMenuSelector: (selector: string) => string;
6262
6262
  *
6263
6263
  * editorMediaUploaderTab: Selector for the media upload tab.
6264
6264
  *
6265
- * commandListItem: Selector for slash command menu buttons.
6265
+ * commandListItem(index: number): Method that generates a selector for slash command menu buttons based on the index.
6266
6266
  *
6267
6267
  * itemBlockHeading: Selector for list item block heading.
6268
6268
  *
6269
+ * addLinkOpenInNewTabCheckbox: Selector for the "Open in new tab" switch in the add link popover.
6270
+ *
6271
+ * linkPopoverEditButton: Selector for the edit button in the link popover.
6272
+ *
6273
+ * editLinkSubmitButton: Selector for the submit button of the edit link flow.
6274
+ *
6269
6275
  */
6270
6276
  declare const NEETO_EDITOR_SELECTORS: {
6271
6277
  fontSize: string;
@@ -6303,6 +6309,9 @@ declare const NEETO_EDITOR_SELECTORS: {
6303
6309
  linkOption: string;
6304
6310
  addLinkUrlInput: string;
6305
6311
  addLinkDoneButton: string;
6312
+ addLinkOpenInNewTabCheckbox: string;
6313
+ linkPopoverEditButton: string;
6314
+ editLinkSubmitButton: string;
6306
6315
  unlinkButton: string;
6307
6316
  editorAttachmentsButton: string;
6308
6317
  attachmentPreviewDeleteButton: string;
package/index.js CHANGED
@@ -2283,6 +2283,10 @@ const globalShortcuts = (t) => [
2283
2283
  description: t("neetoMolecules.keyboardShortcuts.global.openProductSwitcher"),
2284
2284
  sequence: "ctrl+u",
2285
2285
  },
2286
+ {
2287
+ description: t("neetoMolecules.keyboardShortcuts.global.search"),
2288
+ sequence: "ctrl+k",
2289
+ },
2286
2290
  ];
2287
2291
  const generatePhoneNumber = () => `${"+91"} 9${faker.string.numeric(4)} ${faker.string.numeric(5)}`;
2288
2292
  const initializeTestData = (product) => {
@@ -2339,6 +2343,9 @@ const NEETO_EDITOR_SELECTORS = {
2339
2343
  linkOption: optionSelector("link"),
2340
2344
  addLinkUrlInput: "neeto-editor-add-link-url-input",
2341
2345
  addLinkDoneButton: "neeto-editor-add-link",
2346
+ addLinkOpenInNewTabCheckbox: "neeto-editor-add-link-open-in-new-tab-switch",
2347
+ linkPopoverEditButton: "neeto-editor-link-popover-edit",
2348
+ editLinkSubmitButton: "neeto-editor-edit-link",
2342
2349
  unlinkButton: "neeto-editor-link-popover-unlink",
2343
2350
  editorAttachmentsButton: optionSelector("attachments"),
2344
2351
  attachmentPreviewDeleteButton: "neeto-editor-preview-delete-button",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "5.2.1",
3
+ "version": "5.2.3",
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",