web: fix control + alt + right/left arrow tests

This commit is contained in:
Abdullah Atta
2025-02-21 14:26:50 +05:00
parent 40f058b14b
commit ae141ac9c5

View File

@@ -400,7 +400,7 @@ test("control + alt + right arrow should go to next note", async ({ page }) => {
});
await note1?.openNote();
await note2?.openNote();
await note2?.openNote(true);
await page.keyboard.press("Control+Alt+ArrowRight");
expect(await notes.editor.getTitle()).toBe("Note 1");
@@ -428,7 +428,7 @@ test("control + alt + left arrow should go to previous note", async ({
});
await note1?.openNote();
await note2?.openNote();
await note2?.openNote(true);
await page.keyboard.press("Control+Alt+ArrowLeft");
expect(await notes.editor.getTitle()).toBe("Note 1");