Parcourir la source

test(cypress): Do not run cron in ajax mode

This prevent random slowdown during tests, making them more reliable, and faster.

Signed-off-by: Louis Chemineau <louis@chmn.me>
tags/v29.0.0beta3
Louis Chemineau il y a 2 mois
Parent
révision
caa720cbaa
Impossible d'extraire la signature
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      cypress/dockerNode.ts

+ 2
- 0
cypress/dockerNode.ts Voir le fichier

await runExec(container, ['php', 'occ', 'config:system:set', 'default_locale', '--value', 'en_US'], true) await runExec(container, ['php', 'occ', 'config:system:set', 'default_locale', '--value', 'en_US'], true)
await runExec(container, ['php', 'occ', 'config:system:set', 'force_locale', '--value', 'en_US'], true) await runExec(container, ['php', 'occ', 'config:system:set', 'force_locale', '--value', 'en_US'], true)
await runExec(container, ['php', 'occ', 'config:system:set', 'enforce_theme', '--value', 'light'], true) await runExec(container, ['php', 'occ', 'config:system:set', 'enforce_theme', '--value', 'light'], true)
// Speed up test and make them less flaky. If a cron execution is needed, it can be triggered manually.
await runExec(container, ['php', 'occ', 'background:cron'], true)


console.log('└─ Nextcloud is now ready to use 🎉') console.log('└─ Nextcloud is now ready to use 🎉')
} }

Chargement…
Annuler
Enregistrer