Skip to content

added ginkgo test for Banner property of argocd#962

Merged
openshift-merge-bot[bot] merged 4 commits into
redhat-developer:masterfrom
alkakumari016:banner_gingko_test
Sep 12, 2025
Merged

added ginkgo test for Banner property of argocd#962
openshift-merge-bot[bot] merged 4 commits into
redhat-developer:masterfrom
alkakumari016:banner_gingko_test

Conversation

@alkakumari016

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind-test

What does this PR do / why we need it:

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?
GITOPS-7712

How to test changes / Special notes to the reviewer:

Signed-off-by: Alka Kumari <alkumari@redhat.com>
@openshift-ci

openshift-ci Bot commented Sep 9, 2025

Copy link
Copy Markdown

Hi @alkakumari016. Thanks for your PR.

I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@svghadi

svghadi commented Sep 10, 2025

Copy link
Copy Markdown
Member

/ok-to-test

@svghadi svghadi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alkakumari016 - What do you think about combining all the test scenarios in a single IT, instead of creating multiple ITs, which creates multiple ArgoCD instances.

The test can follow below sequence

  1. Create Banner with all support configs in ArgoCD CR
  2. Check if it is reflected in argocd-cm
  3. Update some banner properties in ArgoCD CR
  4. Check if new values are reflected in argocd-cm and old are preserved
  5. Remove the banner from ArgoCD CR
  6. Check if corresponding configs are removed from argocd-cm

Comment thread test/openshift/e2e/ginkgo/parallel/1-120_validate_banner_test.go Outdated
Comment thread test/openshift/e2e/ginkgo/parallel/1-120_validate_banner_test.go Outdated
Signed-off-by: Alka Kumari <alkumari@redhat.com>
@alkakumari016

Copy link
Copy Markdown
Contributor Author

@alkakumari016 - What do you think about combining all the test scenarios in a single IT, instead of creating multiple ITs, which creates multiple ArgoCD instances.

The test can follow below sequence

  1. Create Banner with all support configs in ArgoCD CR
  2. Check if it is reflected in argocd-cm
  3. Update some banner properties in ArgoCD CR
  4. Check if new values are reflected in argocd-cm and old are preserved
  5. Remove the banner from ArgoCD CR
  6. Check if corresponding configs are removed from argocd-cm

@svghadi I have merged the blocks into one It block and removed some unwanted tests. The sequence looks good and makes sense to remove other scenarios since these are covering pretty much everyuthing. I have updated the PR please take a look.

@alkakumari016

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@alkakumari016

Copy link
Copy Markdown
Contributor Author

/retest

@svghadi

svghadi commented Sep 11, 2025

Copy link
Copy Markdown
Member

/lgtm

@svghadi

svghadi commented Sep 11, 2025

Copy link
Copy Markdown
Member

/approve

@openshift-ci

openshift-ci Bot commented Sep 11, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: svghadi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alkakumari016

Copy link
Copy Markdown
Contributor Author

/retest

@svghadi

svghadi commented Sep 11, 2025

Copy link
Copy Markdown
Member

/cherry-pick v1.18

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@svghadi: once the present PR merges, I will cherry-pick it on top of v1.18 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick v1.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@alkakumari016

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@alkakumari016

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-merge-bot openshift-merge-bot Bot merged commit 60472d6 into redhat-developer:master Sep 12, 2025
16 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@svghadi: new pull request created: #968

Details

In response to this:

/cherry-pick v1.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants