mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08:00
fix(editor): playground font inconsistency (#9728)
This commit is contained in:
@@ -185,7 +185,7 @@ test('latex editor', async ({ page }) => {
|
||||
* abababababababababa|babab
|
||||
*/
|
||||
await cutByKeyboard(page);
|
||||
expect(await latexEditorLine.innerText()).toBe('ababababababababababbabab');
|
||||
expect(await latexEditorLine.innerText()).toBe('ababababababababababababab');
|
||||
/**
|
||||
* abababababababababab|babab
|
||||
*/
|
||||
@@ -195,7 +195,7 @@ test('latex editor', async ({ page }) => {
|
||||
*/
|
||||
await pasteByKeyboard(page);
|
||||
expect(await latexEditorLine.innerText()).toBe(
|
||||
'ababababababababababbaabababababababababababababab'
|
||||
'ababababababababababababababababababababababababab'
|
||||
);
|
||||
|
||||
await selectAllByKeyboard(page);
|
||||
|
||||
Reference in New Issue
Block a user