diff --git a/packages/desktop-client/e2e/accounts.test.ts b/packages/desktop-client/e2e/accounts.test.ts index 9a5809836c..195721a7ee 100644 --- a/packages/desktop-client/e2e/accounts.test.ts +++ b/packages/desktop-client/e2e/accounts.test.ts @@ -213,6 +213,9 @@ test.describe('Accounts', () => { notes: `range-${note}`, debit: '10.00', }); + await expect( + accountPage.transactionTableRow.filter({ hasText: `range-${note}` }), + ).toBeVisible(); } // Mark the middle transaction as cleared and lock it via diff --git a/upcoming-release-notes/fix-flaky-range-select-test.md b/upcoming-release-notes/fix-flaky-range-select-test.md new file mode 100644 index 0000000000..dfb9e2201e --- /dev/null +++ b/upcoming-release-notes/fix-flaky-range-select-test.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [matt-fidd] +--- + +Fix a flaky end-to-end test for range selection in the transaction table