mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
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
This commit is contained in:
@@ -430,7 +430,11 @@ describe('Project Sharing', function () {
|
|||||||
// block. The `before` hook always runs prior to the `beforeEach` hook.
|
// block. The `before` hook always runs prior to the `beforeEach` hook.
|
||||||
|
|
||||||
// Set up retained access before disabling link sharing
|
// 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
|
// Set up retained viewer access
|
||||||
login(retainedViewerEmail)
|
login(retainedViewerEmail)
|
||||||
openProjectViaLinkSharingAsUser(
|
openProjectViaLinkSharingAsUser(
|
||||||
|
|||||||
Reference in New Issue
Block a user