restore-instance: fix domain check?

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-07-28 18:47:06 +02:00
parent 4758f2d341
commit 27eac87064

View file

@ -28,7 +28,7 @@ test('Restore instance', async ({ page: setupPage }) => {
await containersPage.locator('#domain').click(); await containersPage.locator('#domain').click();
await containersPage.locator('#domain').fill('example.com'); await containersPage.locator('#domain').fill('example.com');
await containersPage.getByRole('button', { name: 'Submit domain' }).click(); await containersPage.getByRole('button', { name: 'Submit domain' }).click();
await expect(containersPage.locator('body')).toContainText('Domain does not point to this server or the reverse proxy is not configured correctly.'); await expect(containersPage.locator('body')).toContainText('Domain does not point to this server or the reverse proxy is not configured correctly.', { timeout: 15 * 1000 });
// Reject invalid backup location // Reject invalid backup location
await containersPage.locator('#borg_restore_host_location').click(); await containersPage.locator('#borg_restore_host_location').click();