A local-first personal finance app
fix flaky e2e transactions test (#8833)
Matt Fiddamanf0e98075a1eb
diff --git a/packages/desktop-client/e2e/page-models/account-page.ts b/packages/desktop-client/e2e/page-models/account-page.tsindex 55959e0227..ad92e8d2eb 100644--- a/packages/desktop-client/e2e/page-models/account-page.ts+++ b/packages/desktop-client/e2e/page-models/account-page.ts@@ -274,8 +274,7 @@ export class AccountPage {const notesCell = transactionRow.getByTestId('notes');await notesCell.click();const notesInput = notesCell.getByRole('combobox');- await this.selectInputText(notesInput);- await notesInput.pressSequentially(transaction.notes);+ await notesInput.fill(transaction.notes);await this.page.keyboard.press('Tab');}diff --git a/upcoming-release-notes/fix-e2e-long-note-flake.md b/upcoming-release-notes/fix-e2e-long-note-flake.mdnew file mode 100644index 0000000000..4372fe3fd3--- /dev/null+++ b/upcoming-release-notes/fix-e2e-long-note-flake.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [matt-fidd]+---++Fix flaky e2e test caused by dropped keystrokes