test(editor): move tests of toc to affine (#9833)

This commit is contained in:
L-Sun
2025-01-21 13:34:59 +00:00
parent 24fce7a708
commit 16d4430ec9
11 changed files with 595 additions and 728 deletions
+7
View File
@@ -50,3 +50,10 @@ export async function clickUserInfoCard(page: Page) {
delay: 50,
});
}
export async function closeSettingModal(page: Page) {
await page
.getByTestId('setting-modal')
.getByTestId('modal-close-button')
.click();
}