fix(web): minor bug fixes (#9696)

Co-authored-by: Mirone <Saul-Mirone@outlook.com>
This commit is contained in:
OlegandMirone authored and GitHub committed 2025-01-27 14:21:41 +09:00
1 parent 73b4437081
commit e3fac97b9b
6 files changed
+47 -6

No files matched your search

@@ -0,0 +1,14 @@
import { test } from '@affine-test/kit/playwright';
import { expect } from '@playwright/test';
import { initCodeBlockByOneStep } from './utils';
test.describe('Code Block Autocomplete Operations', () => {
test('angle brackets are not supported', async ({ page }) => {
// open the home page and insert the code block
await initCodeBlockByOneStep(page);
await page.keyboard.type('<');
const codeUnit = page.locator('affine-code-unit');
await expect(codeUnit).toHaveText('<');
});
});