Initial state for GitNexus analysis
This commit is contained in:
20
apps/e2e/tests/newsletter.spec.ts
Normal file
20
apps/e2e/tests/newsletter.spec.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* E2E Test: Newsletter
|
||||
*/
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test.describe('Newsletter', () => {
|
||||
test('create campaign, select recipients from members, preview, send', async ({ page }) => {
|
||||
// Create newsletter
|
||||
// Add recipients from member filter (status=active, hasEmail=true)
|
||||
// Preview with variable substitution
|
||||
// Dispatch
|
||||
// Verify sent_count
|
||||
});
|
||||
|
||||
test('template variable substitution works', async ({ page }) => {
|
||||
// Create template with {{first_name}} {{member_number}}
|
||||
// Create newsletter from template
|
||||
// Preview — verify variables replaced
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user