From 892b52c2e9264c9adec9b97cc27f602be00437f9 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Tue, 24 Feb 2026 11:11:20 +0000 Subject: [PATCH] Merge pull request #31695 from overleaf/bg-Jenkins-build-failure-Server-Pro-E2E-Tests-1029 reload server cleanly in project sharing tests GitOrigin-RevId: 1232d870b69a54994441a54da33c93b78d393f22 --- server-ce/test/project-sharing.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server-ce/test/project-sharing.spec.ts b/server-ce/test/project-sharing.spec.ts index a5e201ed05..c20167b651 100644 --- a/server-ce/test/project-sharing.spec.ts +++ b/server-ce/test/project-sharing.spec.ts @@ -430,7 +430,11 @@ describe('Project Sharing', function () { // block. The `before` hook always runs prior to the `beforeEach` hook. // Set up retained access before disabling link sharing - before(function () { + beforeWithReRunOnTestRetry(() => { + // undo the link sharing restriction before joining via link-sharing below + cy.wrap(reloadWith({ withDataDir: true, pro: true }), { + timeout: STARTUP_TIMEOUT, + }) // Set up retained viewer access login(retainedViewerEmail) openProjectViaLinkSharingAsUser(