Merge pull request #20117 from overleaf/jpa-server-pro-test-local

[server-pro] tests: add support for running email tests on Macs

GitOrigin-RevId: 19a206f4ee70d43624094dd8da87091063d631a0
This commit is contained in:
Jakob Ackermann
2024-09-02 08:05:25 +00:00
committed by Copybot
parent 16eb99ee48
commit 3c5bd060f4
6 changed files with 25 additions and 17 deletions
+1 -2
View File
@@ -20,8 +20,7 @@ describe('git-bridge', function () {
V1_HISTORY_URL: 'http://sharelatex:3100/api',
}
const gitBridgePublicHost =
Cypress.env('GIT_BRIDGE_PUBLIC_HOST') || 'sharelatex'
const gitBridgePublicHost = new URL(Cypress.config().baseUrl!).host
describe('enabled in Server Pro', function () {
if (isExcludedBySharding('PRO_CUSTOM_1')) return