Skip to content

Commit d71abde

Browse files
authored
Merge pull request #61218 from nextcloud/fix/playwright-local-test-server-config
test(playwright): fix local test server config for SQLite runs
2 parents 8e06bf9 + a51d520 commit d71abde

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/playwright/start-nextcloud-server.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ async function start() {
5151
process.stdout.write('\nApply custom configuration for Playwright tests\n')
5252
await runOcc(['config:system:set', 'appstoreenabled', '--value', 'false', '--type', 'boolean'])
5353
process.stdout.write('├─ Disabled app store\n')
54+
// createRandomUser() generates short passwords that the policy would reject
55+
await runOcc(['app:disable', 'password_policy'])
56+
process.stdout.write('├─ Disabled password policy for random test users\n')
5457
await runExec(['php', '-r', '$db = new SQLite3("data/owncloud.db");$db->busyTimeout(5000);$db->exec("PRAGMA journal_mode = wal;");'])
5558
process.stdout.write('├─ Enabled SQLite WAL mode for better performance\n')
5659
process.stdout.write('├─ Initialize cron job...\n')

0 commit comments

Comments
 (0)