/** * Playwright tests: IDAA Recovery Meetings — Edit Form * * These tests cover the edit/create form for IDAA Recovery Meeting events. * They simulate an authenticated IDAA member with trusted-level access. * * Test data: * - Recovery Meeting event ID: 'IDAA_RM_TEST01' (fixture — not a real record) * - Novi UUID (trusted member): 'c9ea07b5-06b0-4a43-a2d0-8d06558c8a82' * * NOTE: These fixtures are synthetic. API calls are fully mocked so no * real backend traffic is required. */ import { test, expect } from '@playwright/test'; import { ae_app_local_data_defaults } from './_helpers/ae_defaults'; import { testing_account_id, mock_site_domain } from './_helpers/env'; // --- Test fixtures ----------------------------------------------------------- const TEST_EVENT_ID = '1Pkd025vvxU';// Per README test data const TEST_NOVI_UUID = 'c9ea07b5-06b0-4a43-a2d0-8d06558c8a82'; // in default novi_trusted_li const TEST_NOVI_NAME = 'IDAA Test Novi Member'; const TEST_NOVI_EMAIL = 'test+novi-member@oneskyit.com'; /** Minimal mock event object returned by the API. */ const mock_event = { id: TEST_EVENT_ID, event_id: TEST_EVENT_ID, account_id: testing_account_id, name: 'Thursday Night Serenity Group', type: 'IDAA', physical: true, virtual: false, address_name: 'Community Center', address_city: 'Chicago', address_country_subdivision_code: 'US-IL', address_country_alpha_2_code: 'US', timezone: 'US/Central', recurring: true, recurring_pattern: 'Weekly', weekday_thursday: true, recurring_start_time: '19:00', recurring_end_time: '20:00', recurring_text: '*gen* Weekly: Thursday at 7:00 PM US/Central', contact_li_json: [ { full_name: TEST_NOVI_NAME, email: TEST_NOVI_EMAIL, phone_mobile: null }, { full_name: null, email: null } ], location_text: '
Main entrance on Oak Street.