瀏覽代碼

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 2 月之前
父節點
當前提交
caa720cbaa
無法提取簽署
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      cypress/dockerNode.ts

+ 2
- 0
cypress/dockerNode.ts 查看文件

@@ -132,6 +132,8 @@ export const configureNextcloud = async function() {
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', '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 🎉')
}

Loading…
取消
儲存