Skip to content

Commit 8b4ca33

Browse files
authored
test: remove indentation test that randomly fails in WebKit (#9994)
1 parent ca54b56 commit 8b4ca33

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/rich-text-editor/test/a11y.test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -332,16 +332,6 @@ describe('accessibility', () => {
332332
expect(rte.htmlValue).to.include(`${'\t'.repeat(7)}Level 7`);
333333
expect(rte.htmlValue).to.include(`${'\t'.repeat(8)}Level 8`);
334334
});
335-
336-
it('should handle nested elements with indentation', () => {
337-
rte.value = JSON.stringify([
338-
{ insert: 'Normal\n' },
339-
{ insert: 'Indented with ', attributes: { indent: 1 } },
340-
{ insert: 'nested', attributes: { bold: true, indent: 1 } },
341-
{ insert: ' content\n', attributes: { indent: 1 } },
342-
]);
343-
expect(rte.htmlValue).to.equal('<p>Normal</p><p>\tIndented with <strong>nested</strong> content</p>');
344-
});
345335
});
346336

347337
describe('code block', () => {

0 commit comments

Comments
 (0)