mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 00:14:12 +00:00
fix: say that {company} takes the branding of the web address Bulwark is opened on
This commit is contained in:
@@ -78,6 +78,8 @@ describe('Organisation > Signatures', () => {
|
||||
fireEvent.focus(text);
|
||||
fireEvent.click(screen.getByRole('button', { name: '{department}' }));
|
||||
await waitFor(() => expect((screen.getByTestId('org-signature-text') as HTMLTextAreaElement).value).toBe('{department}'));
|
||||
// Branding per domain goes by the web address Bulwark is opened on, not the sender's domain.
|
||||
expect(screen.getByText('company name from Branding, for the web address Bulwark is opened on')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('sets a disclaimer for a scope, with a preview', async () => {
|
||||
|
||||
@@ -30,7 +30,7 @@ const PLACEHOLDER_HELP: Record<SignaturePlaceholder, string> = {
|
||||
name: 'name of the address the mail is sent from',
|
||||
email: 'that address',
|
||||
identity: 'name and address, as in From',
|
||||
company: 'company name from Branding (per domain)',
|
||||
company: 'company name from Branding, for the web address Bulwark is opened on',
|
||||
domain: 'domain of the address',
|
||||
title: 'job title the user fills in',
|
||||
department: 'department the user fills in',
|
||||
|
||||
Reference in New Issue
Block a user