fix: get back the missing scrollbar (#3718)

This commit is contained in:
JimmFly
2023-08-13 21:36:29 +08:00
committed by GitHub
parent 8833584756
commit 4d254f3967
2 changed files with 12 additions and 4 deletions

View File

@@ -42,3 +42,11 @@ test.skip('Download client tip', async ({ page }) => {
);
await expect(currentDownloadClientTipItem).toBeVisible();
});
test('Check the class name for the scrollbar', async ({ page }) => {
//Because the scroll bar in page mode depends on the class name of blocksuite
await openHomePage(page);
await waitEditorLoad(page);
const affineDocViewport = page.locator('.affine-doc-viewport');
await expect(affineDocViewport).toBeVisible();
});