@bigbinary/neeto-playwright-commons 1.26.7 → 1.26.8
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 +8 -0
- package/index.cjs.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +8 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -117403,6 +117403,13 @@ class SlashCommandEditorPage {
|
|
|
117403
117403
|
return [{ key: "image-upload", value: imagePath }];
|
|
117404
117404
|
};
|
|
117405
117405
|
this.verifyDividerModifier = () => test.expect(this.contentField.locator("hr")).toBeVisible();
|
|
117406
|
+
this.verifyTodoListSelector = async () => {
|
|
117407
|
+
const randomText = await this.fillRandomText();
|
|
117408
|
+
await test.expect(this.contentField.locator(NEETO_EDITOR_SELECTORS.todoList, {
|
|
117409
|
+
hasText: randomText,
|
|
117410
|
+
})).toBeVisible();
|
|
117411
|
+
return [{ key: "todoList", value: randomText }];
|
|
117412
|
+
};
|
|
117406
117413
|
this.slashCommandsAndVerifications = {
|
|
117407
117414
|
normalText: () => this.verifyFontSize("normal"),
|
|
117408
117415
|
heading1: () => this.verifyFontSize(1),
|
|
@@ -117421,6 +117428,7 @@ class SlashCommandEditorPage {
|
|
|
117421
117428
|
image: () => this.verifyImageUploadOption(this.filePath),
|
|
117422
117429
|
emoji: () => this.verifyEmojiSelector(),
|
|
117423
117430
|
divider: () => this.verifyDividerModifier(),
|
|
117431
|
+
"to-doList": () => this.verifyTodoListSelector(),
|
|
117424
117432
|
};
|
|
117425
117433
|
this.getRandomText = () => {
|
|
117426
117434
|
let randomText;
|