1
0
mirror of synced 2026-05-22 13:43:18 +00:00

DEV: fix broken spec due to dropping select-kit (#62)

This commit is contained in:
Joffrey JAFFEUX
2025-09-23 11:38:36 +02:00
committed by GitHub
parent b7b9fde2c6
commit a3c2edf721
+7 -6
View File
@@ -14,13 +14,14 @@ acceptance("Discourse Placeholder | Add a placeholder", function (needs) {
await categoryChooser.expand();
await categoryChooser.selectRowByValue(2);
await click(".d-editor-button-bar .options");
await selectKit(".toolbar-popup-menu-options").expand();
const buttonSelector = `.select-kit-row[data-name='${i18n(
await click(
".toolbar-popup-menu-options[data-identifier='toolbar-menu__options']"
);
await click(
`.dropdown-menu__item .btn[title='${i18n(
themePrefix("toolbar.builder")
)}']`;
assert.dom(buttonSelector).exists("it shows the composer button");
await click(buttonSelector);
)}']`
);
assert.dom(".d-modal.placeholder-builder").exists();