@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 +2 -3
- package/index.cjs.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +2 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1517,6 +1517,7 @@ declare const NEETO_EDITOR_SELECTORS: {
|
|
|
1517
1517
|
videoWrapper: string;
|
|
1518
1518
|
paragraphOption: string;
|
|
1519
1519
|
attachmentPreview: string;
|
|
1520
|
+
imageUploadLinkButton: string;
|
|
1520
1521
|
};
|
|
1521
1522
|
declare const NEETO_TEXT_MODIFIER_SELECTORS: {
|
|
1522
1523
|
strikeOption: string;
|
package/index.js
CHANGED
|
@@ -13628,6 +13628,7 @@ const NEETO_EDITOR_SELECTORS = {
|
|
|
13628
13628
|
videoWrapper: ".neeto-editor__video-wrapper",
|
|
13629
13629
|
paragraphOption: "neeto-editor-fixed-menu-font-size-option-body2",
|
|
13630
13630
|
attachmentPreview: "ne-attachments-wrapper",
|
|
13631
|
+
imageUploadLinkButton: "neeto-editor-media-uploader-link-tab",
|
|
13631
13632
|
};
|
|
13632
13633
|
const NEETO_TEXT_MODIFIER_SELECTORS = {
|
|
13633
13634
|
strikeOption: "neeto-editor-fixed-menu-strike-option",
|
|
@@ -13776,10 +13777,8 @@ class EditorPage {
|
|
|
13776
13777
|
timeout: 15000,
|
|
13777
13778
|
});
|
|
13778
13779
|
await this.imageUploadOption.click();
|
|
13779
|
-
// TODO: Fix the selector after the issue is resolved: https://github.com/bigbinary/neeto-editor/issues/1048
|
|
13780
13780
|
await this.page
|
|
13781
|
-
.getByTestId(
|
|
13782
|
-
.getByText(DESCRIPTION_EDITOR_TEXTS.link)
|
|
13781
|
+
.getByTestId(NEETO_EDITOR_SELECTORS.imageUploadLinkButton)
|
|
13783
13782
|
.click();
|
|
13784
13783
|
await this.page
|
|
13785
13784
|
.getByTestId(NEETO_EDITOR_SELECTORS.imageUploadLinkInput)
|