-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
-
Title: E2E Test Coverage for Pipeline Creation from YAML View
Description:
Automated E2E test is required to validate that pipelines can be successfully created from the YAML view in the Pipelines section of the OpenShift console. This is to prevent regressions for the issue reported where the Create action did not work directly from YAML view.
Related Bug/Ticket: https://issues.redhat.com/browse/SRVKP-8205
Test Objective:
Verify that a pipeline can be created from the YAML view without requiring a switch to Pipeline Builder.
Test Steps:
- Login to OpenShift Console with a user having required permissions.
- Navigate to Pipelines → Pipelines → Create → YAML View.
- Paste a valid pipeline YAML definition (sample pipeline).
- Click on Create.
- Verify that the pipeline is successfully created and visible in the Pipelines list.
Expected Result:
- The pipeline is created successfully when the user clicks on Create in YAML view.
- The pipeline resource appears in the Pipelines list without requiring a workaround.
Environment:
- OpenShift Pipelines 1.19
- OpenShift Container Platform 4.19
Reproducibility: Always
Automation Notes:
- Add Cypress / Playwright test in pipelines-plugin E2E test suite under pipeline creation flows.
- Ensure test covers YAML view creation and asserts existence of pipeline CR post-creation.
- Validate both success and failure cases.