Chore: Fixes #10721: Fix test failure in CI (#10735)

pull/10734/head^2
Henry Heino 2024-07-11 12:59:56 -07:00 committed by GitHub
parent 4de0236194
commit 1596b46b86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -51,6 +51,7 @@ test.describe('noteList', () => {
await activateMainMenuItem(electronApp, 'Note list', 'Focus');
await expect(mainScreen.noteListContainer.getByText('test note 1')).toBeVisible();
await expect(mainScreen.noteListContainer.getByText('test note 2')).toBeVisible();
await setMessageBoxResponse(electronApp, /^Delete/i);
@ -61,9 +62,6 @@ test.describe('noteList', () => {
await mainWindow.keyboard.up('Shift');
};
await pressShiftDelete();
await folderBHeader.click();
await folderAHeader.click();
await expect(mainScreen.noteListContainer.getByText('test note 2')).not.toBeVisible();
// Should not delete when the editor is focused