From 72ac3a82f98cd59493b8cfb422b732d6d68a82ef Mon Sep 17 00:00:00 2001 From: "Enjeck C." Date: Mon, 12 Oct 2026 08:29:33 +0100 Subject: [PATCH] fix: Update test timeout, less flaky Signed-off-by: Enjeck C. --- .github/workflows/cypress-custom.yml | 1 + src/modules/modals/EditRow.vue | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-custom.yml b/.github/workflows/cypress-custom.yml index be0f342079..1ff391655c 100644 --- a/.github/workflows/cypress-custom.yml +++ b/.github/workflows/cypress-custom.yml @@ -26,6 +26,7 @@ env: jobs: cypress: runs-on: ubuntu-latest + timeout-minutes: 60 strategy: fail-fast: false diff --git a/src/modules/modals/EditRow.vue b/src/modules/modals/EditRow.vue index 421cc5cccb..5dc0153031 100644 --- a/src/modules/modals/EditRow.vue +++ b/src/modules/modals/EditRow.vue @@ -160,12 +160,15 @@ export default { }, }, watch: { - row() { - if (this.row) { + row(newRow, oldRow) { + if (newRow) { + if (oldRow?.id === newRow.id && this.localRow !== null) { + return + } if (this.$router.currentRoute.path.includes('/row/')) { this.$router.replace(this.$router.currentRoute.path.split('/row/')[0]) } - this.$router.push(this.$router.currentRoute.path + '/row/' + this.row.id) + this.$router.push(this.$router.currentRoute.path + '/row/' + newRow.id) this.setActiveRowId(null) this.loadValues() }