añadido karpathy y refactorizacion del proyecto

This commit is contained in:
2026-05-25 19:48:56 +02:00
parent 8feb88dfa6
commit ee8cfa03ea
1225 changed files with 875463 additions and 5909 deletions
@@ -0,0 +1,59 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.893Z
# Source of truth: this YAML file
id: core-installation-check-fresh_installation
project: pbx
module: core
group: core-installation
title: Verify complete fresh installation from scratch succeeds on each supported hypervisor
description: Verify complete fresh installation from scratch succeeds on each supported hypervisor
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: 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: ''
automatable: false
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: false
- action: Perform installation or upgrade procedure
expected: ''
automatable: false
- action: Post-install verification via portal + external tools
expected: ''
automatable: false
automation_status: manual
file: tests/core/installation.spec.ts
custom_fields:
original_action: check
original_automatable:
- Most UI-driven configuration and verification steps via Playwright
original_notYet:
- Requires provisioning a clean VM, mounting ISO/OVA, and running the installation wizard
- Requires external SIP endpoints or physical phones for media/audio validation
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: 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 provisioning a clean VM, mounting ISO/OVA, and running the installation wizard
@@ -0,0 +1,57 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.894Z
# Source of truth: this YAML file
id: core-installation-check-initial_configuration
project: pbx
module: core
group: core-installation
title: Verify the initial configuration wizard completes successfully
description: Verify the initial configuration wizard completes successfully
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: 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: ''
automatable: true
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: true
- action: Perform installation or upgrade procedure
expected: ''
automatable: true
- action: Post-install verification via portal + external tools
expected: ''
automatable: true
automation_status: automated
file: tests/core/installation.spec.ts
custom_fields:
original_action: check
original_automatable:
- Full end-to-end execution via Playwright against the admin portal UI
- Navigation, form interaction, and assertions are scriptable
original_notYet: []
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: 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)
@@ -0,0 +1,57 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.895Z
# Source of truth: this YAML file
id: core-installation-check-license_activation
project: pbx
module: core
group: core-installation
title: Verify license activation completes successfully and licensed features are unlocked
description: Verify license activation completes successfully and licensed features are unlocked
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: 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: ''
automatable: true
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: true
- action: Perform installation or upgrade procedure
expected: ''
automatable: true
- action: Post-install verification via portal + external tools
expected: ''
automatable: true
automation_status: automated
file: tests/core/installation.spec.ts
custom_fields:
original_action: check
original_automatable:
- Full end-to-end execution via Playwright against the admin portal UI
- Navigation, form interaction, and assertions are scriptable
original_notYet: []
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: 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)
@@ -0,0 +1,64 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.896Z
# Source of truth: this YAML file
id: core-installation-check-post_install_service_status_and_port_verification
project: pbx
module: core
group: core-installation
title: Verify all required services are running and expected ports are open after installation
description: Verify all required services are running and expected ports are open after installation
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: 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: ''
automatable: true
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: true
- action: Perform installation or upgrade procedure
expected: ''
automatable: true
- action: Post-install verification via portal + external tools
expected: ''
automatable: true
automation_status: partial
file: tests/core/installation.spec.ts
custom_fields:
original_action: check
original_automatable:
- Portal UI configuration and verification steps (already partially automated)
- Data extraction and reporting of current settings
original_notYet:
- >-
Service status via admin portal automated; TCP port verification requires nmap from external
host
- Requires external SIP endpoints or physical phones for media/audio validation
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: 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)
partialNotes: >-
Service status via admin portal automated; TCP port verification requires nmap from external
host