mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
571 B
17 lines
571 B
import { test, expect } from '@playwright/test';
|
|
import { loginAsAdmin } from './helpers/auth';
|
|
|
|
// Phase 0.2 — External SMTP via env vars.
|
|
// Default state (no env override): form fields are editable.
|
|
|
|
test.describe('External SMTP', () => {
|
|
test('SMTP settings form is editable when no env override is set', async ({ page }) => {
|
|
await loginAsAdmin(page);
|
|
await page.goto('/settings/email');
|
|
|
|
const host = page.locator('input[name="encrypted_config[value][host]"]');
|
|
await expect(host).toBeVisible();
|
|
await expect(host).toBeEditable();
|
|
});
|
|
});
|