afe89964df
CI / push-validation (pull_request) Successful in 26s
CI / helm (pull_request) Successful in 50s
CI / lint (pull_request) Successful in 52s
CI / build (pull_request) Successful in 51s
CI / quality (pull_request) Successful in 52s
CI / security (pull_request) Successful in 1m15s
CI / typecheck (pull_request) Successful in 1m35s
CI / unit_tests (pull_request) Successful in 5m25s
CI / docker (pull_request) Successful in 1m34s
CI / integration_tests (pull_request) Failing after 10m26s
CI / coverage (pull_request) Failing after 18m51s
CI / status-check (pull_request) Has been cancelled
The tdd_expected_fail listener (robot/tdd_expected_fail_listener.py and features/environment.py) inverts test results: a test tagged @tdd_expected_fail that PASSES is forced to FAIL with the message "Bug appears to be fixed. Remove the tdd_expected_fail tag…". After rebasing onto master, 22 scenarios across 11 files were triggering that forced-failure path because the underlying bugs (#4199, #4201, #4202, #4203, #4205, #4206, #4243, #4252, #4301, #4303, #4304) have been fixed on master but the @tdd_expected_fail tags were never removed. This commit removes the stale tag (keeping @tdd_issue and @tdd_issue_<N> for traceability, per the master-side pattern in robot/tdd_skill_add_regression.robot:9 "tag removed after bug fix"). Files touched (lines: where the stale tag was): features/plan_cli_spec_alignment.feature (121, 128, 136) robot/a2a_facade.robot (40) robot/actor_cli_show.robot (13, 30) robot/actor_configuration.robot (8) robot/actor_context_export_import.robot (20, 71, 92) robot/cli_extensions.robot (61) robot/cli_formats.robot (14, 23, 30, 48, 57, 85) robot/cli_lifecycle_e2e.robot (77, 87) robot/config_project_scope.robot (37) robot/config_resolution.robot (13) robot/container_tool_exec.robot (137) Verified locally: targeted unit_tests run on features/plan_cli_spec_alignment.feature now passes 20/20 (was 17/20 with 3 scenarios forced-failed by the inversion). ISSUES CLOSED: #3677
83 lines
3.8 KiB
Plaintext
83 lines
3.8 KiB
Plaintext
*** Settings ***
|
|
Documentation Smoke tests for plan use with invariants, automation profiles, and actor validation
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER} ${CURDIR}/helper_cli_extensions.py
|
|
|
|
*** Test Cases ***
|
|
Plan Use With Invariants
|
|
[Documentation] Verify that ``plan use --invariant`` passes invariants correctly
|
|
${result}= Run Process ${PYTHON} ${HELPER} plan-use-invariants cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-plan-use-invariants-ok
|
|
|
|
Plan Use With Automation Profile
|
|
[Documentation] Verify that ``plan use --automation-profile`` works
|
|
${result}= Run Process ${PYTHON} ${HELPER} plan-use-profile cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-plan-use-profile-ok
|
|
|
|
Plan Use Actor Validation Valid
|
|
[Documentation] Verify valid namespaced actor format is accepted
|
|
${result}= Run Process ${PYTHON} ${HELPER} actor-valid cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-actor-valid-ok
|
|
|
|
Plan Use Actor Validation Invalid
|
|
[Documentation] Verify invalid actor format is rejected
|
|
${result}= Run Process ${PYTHON} ${HELPER} actor-invalid cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-actor-invalid-ok
|
|
|
|
Plan Use Combined Profile And Invariants
|
|
[Documentation] Verify plan use with both profile and invariants
|
|
${result}= Run Process ${PYTHON} ${HELPER} plan-combined cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-plan-combined-ok
|
|
|
|
Action Show With Optional Actors And Invariants
|
|
[Documentation] Verify action show includes optional actors, invariants, and inputs_schema when set
|
|
${result}= Run Process ${PYTHON} ${HELPER} action-show-extended cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-action-show-extended-ok
|
|
|
|
Action Show JSON With Optional Fields
|
|
[Documentation] Verify action show JSON output includes optional fields
|
|
[Tags] tdd_issue tdd_issue_4205
|
|
${result}= Run Process ${PYTHON} ${HELPER} action-show-json cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-action-show-json-ok
|
|
|
|
Invariant Ordering Preserved
|
|
[Documentation] Verify that multiple invariant flags preserve insertion order
|
|
${result}= Run Process ${PYTHON} ${HELPER} invariant-ordering cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-invariant-ordering-ok
|
|
|
|
Profile Resolution All Builtins
|
|
[Documentation] Verify that all builtin profiles resolve correctly
|
|
${result}= Run Process ${PYTHON} ${HELPER} profile-resolution cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} cli-ext-profile-resolution-ok
|