# Updated via Autotest Editor - 2026-05-25T21:52:12.009Z
# Source of truth: this YAML file

id: pbx-virtualization-check-live_migration_and_active_call_preservation
module: pbx
group: pbx-virtualization
title: Verify VM live migration preserves active calls without interruption
description: Verify VM live migration preserves active calls without interruption
priority: Medium
tags: []
references: []
dependencies:
  - label: Admin Portal
    value: https://pbx.local:4443 (configure via $BASE_URL)
  - label: Repository URL
    value: ${BASE_URL}/downloads or $REPO_URL
  - label: Protocol
    value: HTTPS (admin portal) + optional SSH/CLI
  - label: Hypervisor Access
    value: vCenter, Hyper-V Manager, Proxmox, or virsh (SSH/API)
  - label: Credentials
    value: Admin user with sufficient privileges (portal + SSH where needed)
  - label: Test Data
    value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
  - action: Open admin portal or repository URL in browser context
    expected: ''
  - action: Execute the main verification or configuration action described in the test
    expected: ''
  - action: Capture evidence (screenshot, log, API response)
    expected: ''
  - action: Assert expected outcome
    expected: ''
automation_status: manual
file: tests/core/virtualization.spec.ts
custom_fields:
  original_action: check
  original_automatable:
    - Most UI-driven configuration and verification steps via Playwright
  original_notYet:
    - >-
      Requires HA infrastructure with 2+ hypervisor hosts and active SIP call sessions during
      migration
    - Requires external SIP endpoints or physical phones for media/audio validation
    - Hypervisor-level operations (vCenter, libvirt, vSphere) not reachable from browser automation
    - Long-running load or HA failover scenarios need dedicated lab infrastructure
  original_dependencies:
    - label: Admin Portal
      value: https://pbx.local:4443 (configure via $BASE_URL)
    - label: Repository URL
      value: ${BASE_URL}/downloads or $REPO_URL
    - label: Protocol
      value: HTTPS (admin portal) + optional SSH/CLI
    - label: Hypervisor Access
      value: vCenter, Hyper-V Manager, Proxmox, or virsh (SSH/API)
    - label: Credentials
      value: Admin user with sufficient privileges (portal + SSH where needed)
    - label: Test Data
      value: Clean test tenant or lab PBX instance (recommended isolated environment)
  manualReason: >-
    Requires HA infrastructure with 2+ hypervisor hosts and active SIP call sessions during
    migration
automatable:
  - Most UI-driven configuration and verification steps via Playwright
notYet:
  - >-
    Requires HA infrastructure with 2+ hypervisor hosts and active SIP call sessions during
    migration
  - Requires external SIP endpoints or physical phones for media/audio validation
  - Hypervisor-level operations (vCenter, libvirt, vSphere) not reachable from browser automation
  - Long-running load or HA failover scenarios need dedicated lab infrastructure
