ep_markdown 11.0.17 → 11.0.18
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/package.json
CHANGED
|
@@ -15,8 +15,15 @@ test.describe('ep_markdown', () => {
|
|
|
15
15
|
await writeToPad(page, 'bold');
|
|
16
16
|
await selectAllText(page);
|
|
17
17
|
|
|
18
|
-
// Apply bold via the toolbar button.
|
|
19
|
-
|
|
18
|
+
// Apply bold via the toolbar button. force:true because under
|
|
19
|
+
// Firefox + WITH_PLUGINS load #toolbar-overlay can intercept
|
|
20
|
+
// pointer events; chromium resolves the click via fallback
|
|
21
|
+
// hit-testing but firefox is stricter.
|
|
22
|
+
await page.locator('.buttonicon-bold').click({force: true});
|
|
23
|
+
// Wait for the bold to actually apply before flipping the
|
|
24
|
+
// markdown setting — otherwise the markdown class could land
|
|
25
|
+
// before there's anything bold to render.
|
|
26
|
+
await expect(padBody.locator('div').first().locator('b')).toHaveCount(1);
|
|
20
27
|
|
|
21
28
|
// Toggle "Show Markdown" in pad settings.
|
|
22
29
|
// Settings popup must be open for #options-markdown to be clickable.
|