-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
migrate existing E2E flow from the internal pipeline that runs cypress, to konflux.
this should be possible to achieve by creating a konflux "integration test", under our konflux app.
we can follow the console-dot guide for HCC tenant apps, and add an integration-test file to konflux-release-data repo. the file in the guide is for the base tests, but we might use the same approach to declare a custom test.
see more info in this slack thread.
some notes
- integration-tests are added at the tenant (app) level, for all components. incidentally, we only have one component, but it affects naming conventions and systems-coupling in the pipeline config
- when creating an integration-test via konflux UI, we need to point to a repo. for experimenting, we can use a topic branch on a fork
- as the pipeline is purposed for general e2e testing in JS apps, it might get reused by other HCC apps. keep that in mind when implementing, and consider contributing it to konflux-pipelines/platform-ui when ready (or possibly to tekton-integration-catalog)
references
- add integration tests scenario on the console-dot migration guide
- creating custom integration-tests on konflux docs
- integration-examples / passing metadata pipeline example
- tekton-integration-catalog / scheduler script