chore: bump BlockSuite version (#910)

Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
This commit is contained in:
x1a0t
2023-02-10 03:09:05 +08:00
committed by GitHub
parent 18e1eecefc
commit d524fe3c6c
16 changed files with 276 additions and 210 deletions

View File

@@ -26,6 +26,7 @@ test.describe('Open contact us', () => {
const faqIcon = page.locator('[data-testid=faq-icon]');
const box = await faqIcon.boundingBox();
expect(box?.x).not.toBeUndefined();
await faqIcon.click();
await page.mouse.move((box?.x ?? 0) + 10, (box?.y ?? 0) + 10);
await page.mouse.move((box?.x ?? 0) + 5, (box?.y ?? 0) + 5);

View File

@@ -10,6 +10,7 @@ test.describe('Shortcuts Modal', () => {
const box = await faqIcon.boundingBox();
expect(box?.x).not.toBeUndefined();
await page.mouse.move((box?.x ?? 0) + 5, (box?.y ?? 0) + 5);
await faqIcon.click();
const shortcutsIcon = page.locator('[data-testid=shortcuts-icon]');
expect(await shortcutsIcon.isVisible()).toEqual(true);