@bigbinary/neeto-playwright-commons 1.9.8 → 1.9.9

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.
package/index.cjs.js CHANGED
@@ -13674,6 +13674,7 @@ const NEETO_EDITOR_SELECTORS = {
13674
13674
  videoWrapper: ".neeto-editor__video-wrapper",
13675
13675
  paragraphOption: "neeto-editor-fixed-menu-font-size-option-body2",
13676
13676
  attachmentPreview: "ne-attachments-wrapper",
13677
+ imageUploadLinkButton: "neeto-editor-media-uploader-link-tab",
13677
13678
  };
13678
13679
  const NEETO_TEXT_MODIFIER_SELECTORS = {
13679
13680
  strikeOption: "neeto-editor-fixed-menu-strike-option",
@@ -13822,10 +13823,8 @@ class EditorPage {
13822
13823
  timeout: 15000,
13823
13824
  });
13824
13825
  await this.imageUploadOption.click();
13825
- // TODO: Fix the selector after the issue is resolved: https://github.com/bigbinary/neeto-editor/issues/1048
13826
13826
  await this.page
13827
- .getByTestId(COMMON_SELECTORS.tabItem)
13828
- .getByText(DESCRIPTION_EDITOR_TEXTS.link)
13827
+ .getByTestId(NEETO_EDITOR_SELECTORS.imageUploadLinkButton)
13829
13828
  .click();
13830
13829
  await this.page
13831
13830
  .getByTestId(NEETO_EDITOR_SELECTORS.imageUploadLinkInput)