Portlama E2E: 15 — Plugin Lifecycle
Started at
2026-03-28 22:39:12 UTC
Pre-flight: check onboarding is complete
✅ 22:39:12 Onboarding is complete
Empty initial plugin list
✅ 22:39:12 Initial plugin list is empty
Plugin install validation
✅ 22:39:12 Non-@lamalibre package rejected (HTTP 400)
✅ 22:39:12 Empty package name rejected (HTTP 400)
Plugin detail for non-existent plugin
✅ 22:39:12 GET non-existent plugin returns 404
Enable/disable non-existent plugin
✅ 22:39:12 Enable non-existent plugin returns 404
✅ 22:39:12 Disable non-existent plugin returns 404
Uninstall non-existent plugin
✅ 22:39:12 Uninstall non-existent plugin returns 404
Push install config defaults
✅ 22:39:12 Push install is disabled by default
✅ 22:39:12 Default policy ID is 'default'
✅ 22:39:12 At least one push install policy exists (count: 1)
Push install config update
✅ 22:39:12 PATCH push-install config returned ok: true
✅ 22:39:12 Push install is now enabled
Create a push install policy
✅ 22:39:12 Policy creation returned ok: true
✅ 22:39:12 Policy ID matches
Verify policy in listing
✅ 22:39:12 Created policy appears in listing
Update the push install policy
✅ 22:39:12 Policy update returned ok: true
✅ 22:39:12 Description updated
Cannot delete the default push install policy
✅ 22:39:12 Cannot delete the default policy (HTTP 400)
Delete the e2e-pi-test policy
✅ 22:39:12 Policy deletion returned ok: true
✅ 22:39:12 Deleted policy no longer in listing
Push install policy validation
✅ 22:39:12 POST policy with empty name rejected (HTTP 400)
✅ 22:39:12 POST policy with duplicate ID rejected (HTTP 409)
✅ 22:39:12 PATCH non-existent policy returns 404
✅ 22:39:12 DELETE non-existent policy returns 404
Push install enable/disable for agent
ℹ️ 22:39:12 Found agent: test-agent
✅ 22:39:12 Push install enable for agent returned ok: true
✅ 22:39:12 pushInstallEnabledUntil is set
✅ 22:39:12 Push install disable for agent returned ok: true
Push install without global toggle
✅ 22:39:12 Cannot enable push install when globally disabled (HTTP 400)
Push install sessions audit log
✅ 22:39:12 GET push-install sessions returns a sessions array
Push install input validation
✅ 22:39:12 POST enable with durationMinutes: 0 rejected (HTTP 400)
✅ 22:39:12 POST enable with durationMinutes: 9999 rejected (HTTP 400)
✅ 22:39:12 PATCH config with non-existent defaultPolicy rejected (HTTP 400)
✅ 22:39:12 POST enable for non-existent agent returns 404
✅ 22:39:12 DELETE enable for non-existent agent returns 404
✅ 22:39:12 POST enable with invalid label format rejected (HTTP 400)
✅ 22:39:12 GET plugin with invalid name rejected (HTTP 400)
Cleanup
✅ 22:39:12 Push install disabled globally for cleanup
✅ 22:39:12 Push install is disabled after cleanup
✅ 22:39:12 Cleanup complete — plugin state restored
Results
| Metric | Count |
|---|---|
| Passed | 40 |
| Failed | 0 |
| Skipped | 0 |
| Total | 40 |