Skip to content

Incorrect current step when certain tests are missing #708

@proactivebit

Description

@proactivebit

Expected Behavior

Getting the current step for a pipeline execution should return the first step that was not completed yet.

Actual Behavior

Getting the current step for a pipeline execution where tests steps (UI testing or functional testing) are marked as incomplete (as nothing is done during those steps) will return the incomplete step and not the proper current step (which may be approval step)

Reproduction Scenario, Platform, and Version

Have a program that has a Production environment, but no UI or functional tests.

Steps to Reproduce

Steps to reproduce the behavior:

Go to a program where there are no UI tests
Start the Production CI_CD pipeline
Wait for pipeline to reach approval step
Run aio cloudmanager:current-execution:get command and get the UI tests step instead of approval step
The new step status incomplete was added in 2023.6.0 release of Cloud Manager: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/release-notes/cloud-manager/2023/2023-6-0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions