From fa98d227249c48951c99d3c20c5edd9a036ffd1e Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Wed, 3 Jun 2026 11:05:31 +0200 Subject: [PATCH] Use test path that exists on macos, too Signed-off-by: Pablo Zmdl --- php/tests/tests/initial-setup.spec.js | 2 +- php/tests/tests/restore-instance.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php/tests/tests/initial-setup.spec.js b/php/tests/tests/initial-setup.spec.js index 1f21f011..0a133943 100755 --- a/php/tests/tests/initial-setup.spec.js +++ b/php/tests/tests/initial-setup.spec.js @@ -69,7 +69,7 @@ test('Initial setup', async ({ page: setupPage }) => { const initialNextcloudPassword = await containersPage.locator('#initial-nextcloud-password').innerText(); // Set backup location and create backup - const borgBackupLocation = `/mnt/test/aio-${Math.floor(Math.random() * 2147483647)}` + const borgBackupLocation = `/tmp/test/aio-${Math.floor(Math.random() * 2147483647)}` await containersPage.locator('#borg_backup_host_location').click(); await containersPage.locator('#borg_backup_host_location').fill(borgBackupLocation); await containersPage.getByRole('button', { name: 'Submit backup location' }).click(); diff --git a/php/tests/tests/restore-instance.spec.js b/php/tests/tests/restore-instance.spec.js index 696a4376..439c21b1 100755 --- a/php/tests/tests/restore-instance.spec.js +++ b/php/tests/tests/restore-instance.spec.js @@ -32,7 +32,7 @@ test('Restore instance', async ({ page: setupPage }) => { // Reject invalid backup location await containersPage.locator('#borg_restore_host_location').click(); - await containersPage.locator('#borg_restore_host_location').fill('/mnt/test/aio-incorrect-path'); + await containersPage.locator('#borg_restore_host_location').fill('/tmp/test/aio-incorrect-path'); await containersPage.locator('#borg_restore_password').click(); await containersPage.locator('#borg_restore_password').fill(borgBackupPassword); await containersPage.getByRole('button', { name: 'Submit location and encryption password' }).click()