Skip to content

A local-first personal finance app

fix flaky vrt by increasing timeout (#8323)

Matt Fiddaman9d204f195bb8
diff --git a/packages/desktop-client/e2e/schedules.test.ts b/packages/desktop-client/e2e/schedules.test.ts
index 581badb0da..2a04e84ea7 100644
--- a/packages/desktop-client/e2e/schedules.test.ts
+++ b/packages/desktop-client/e2e/schedules.test.ts
@@ -31,8 +31,6 @@ test.describe('Schedules', () => {
});
test('creates a new schedule, posts the transaction and later completes it', async () => {
- test.setTimeout(40000);
-
const scheduleEditModal = await schedulesPage.addNewSchedule();
await scheduleEditModal.fill({
payee: 'Home Depot',
@@ -88,8 +86,6 @@ test.describe('Schedules', () => {
});
test('creates two new schedules, posts both transactions and later completes one', async () => {
- test.setTimeout(40000);
-
// Adding two schedules with the same payee and account and amount, mimicking two different subscriptions
let scheduleEditModal = await schedulesPage.addNewSchedule();
await scheduleEditModal.fill({
diff --git a/upcoming-release-notes/fix-flaky-schedules-vrt-timeout.md b/upcoming-release-notes/fix-flaky-schedules-vrt-timeout.md
new file mode 100644
index 0000000000..c2c6f9520d
--- /dev/null
+++ b/upcoming-release-notes/fix-flaky-schedules-vrt-timeout.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Fix flaky schedules VRT test by increasing the timeout