-- ============================================================================
-- 测试场景管理 + E2E运行历史 菜单同步到 sys_menu / company_menu / tenant_sys_menu / tenant_company_menu
-- 父分组：2994 = 对话测试与质量
-- ============================================================================

-- A) 租户库 sys_menu
INSERT IGNORE INTO sys_menu
  (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time)
VALUES
(3006, '测试场景管理',  2994, 4, 'lobster-test-scenario', 'lobster/test-scenario/index', 1, 0, 'C', '0', '0', 'workflow:lobster:scenario', 'document-checked', 'admin', NOW()),
(3007, 'E2E运行历史',   2994, 5, 'lobster-e2e-history',   'lobster/e2e-history/index',   1, 0, 'C', '0', '0', 'workflow:lobster:e2e',      'time',             'admin', NOW());

-- B) 租户库 company_menu (company_id=NULL)
INSERT IGNORE INTO company_menu
  (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, company_id)
VALUES
(3006, '测试场景管理',  2994, 4, 'lobster-test-scenario', 'lobster/test-scenario/index', 1, 0, 'C', '0', '0', 'workflow:lobster:scenario', 'document-checked', 'admin', NOW(), NULL),
(3007, 'E2E运行历史',   2994, 5, 'lobster-e2e-history',   'lobster/e2e-history/index',   1, 0, 'C', '0', '0', 'workflow:lobster:e2e',      'time',             'admin', NOW(), NULL);
