mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
test(editor): move tests of toc to affine (#9833)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user