From 2700694a99121c5d5ee64711329dc91ca05e5cff Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sat, 1 Jun 2024 05:08:24 +0500 Subject: [PATCH] test(cypress): fix cypress tests failing cypress settings were lacking some of the jobs so when the startJobs() is called when the app starts, it was failing to schedule the jobs where their cron timings were not specified in the cypress settings. Therefore, this commit adds those jobs back. In addition, other setting options were added to keep cypress settings consistent with a normal user. --- cypress/config/settings.cypress.json | 41 +++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/cypress/config/settings.cypress.json b/cypress/config/settings.cypress.json index 7a4bbef5..e0ec4419 100644 --- a/cypress/config/settings.cypress.json +++ b/cypress/config/settings.cypress.json @@ -19,6 +19,7 @@ "region": "", "originalLanguage": "", "trustProxy": false, + "mediaServerType": 1, "partialRequestsEnabled": true, "locale": "en" }, @@ -37,6 +38,17 @@ ], "machineId": "test" }, + "jellyfin": { + "name": "", + "ip": "", + "port": 8096, + "useSsl": false, + "urlBase": "", + "externalHostname": "", + "jellyfinForgotPasswordUrl": "", + "libraries": [], + "serverId": "" + }, "tautulli": {}, "radarr": [], "sonarr": [], @@ -128,22 +140,37 @@ }, "jobs": { "plex-recently-added-scan": { - "schedule": "0 */5 * * * *" + "schedule": "0 */5 * * * *" }, "plex-full-scan": { - "schedule": "0 0 3 * * *" + "schedule": "0 0 3 * * *" + }, + "plex-watchlist-sync": { + "schedule": "0 */10 * * * *" }, "radarr-scan": { - "schedule": "0 0 4 * * *" + "schedule": "0 0 4 * * *" }, "sonarr-scan": { - "schedule": "0 30 4 * * *" + "schedule": "0 30 4 * * *" + }, + "availability-sync": { + "schedule": "0 0 5 * * *" }, "download-sync": { - "schedule": "0 * * * * *" + "schedule": "0 * * * * *" }, "download-sync-reset": { - "schedule": "0 0 1 * * *" - } + "schedule": "0 0 1 * * *" + }, + "jellyfin-recently-added-scan": { + "schedule": "0 */5 * * * *" + }, + "jellyfin-full-scan": { + "schedule": "0 0 3 * * *" + }, + "image-cache-cleanup": { + "schedule": "0 0 5 * * *" + } } }