Skip to content

tests: streamline Helm chart tests with assertChartData function#195

Closed
xakraz wants to merge 1 commit into
ChristofferNissen:mainfrom
DataDome-OSS-contrib:fix/ci
Closed

tests: streamline Helm chart tests with assertChartData function#195
xakraz wants to merge 1 commit into
ChristofferNissen:mainfrom
DataDome-OSS-contrib:fix/ci

Conversation

@xakraz

@xakraz xakraz commented Feb 26, 2026

Copy link
Copy Markdown

Overview

This PR tries to fix the current failing CI 🤞🏻

Changes

  • Remove detailed comments listing charts and add comments clarifying assertions on chart and image counts.
  • Introduce assertChartData function for chart and image count validation, replacing repetitive test logic.
  • Refactor tests to utilize assertChartData, streamlining assertion logic across multiple Helm chart tests.

Signed-off-by: Xavier Krantz xakraz@gmail.com

- Remove detailed comments listing charts and add comments clarifying assertions on chart and image counts.
- Introduce `assertChartData` function for chart and image count validation, replacing repetitive test logic.
- Refactor tests to utilize `assertChartData`, streamlining assertion logic across multiple Helm chart tests.

Signed-off-by: Xavier Krantz <xakraz@gmail.com>
@ChristofferNissen

Copy link
Copy Markdown
Owner

Hey, Thanks for the PRs! I have fixed CI in another PR, please see if that fixes the issue and if not reopen this PR.

@xakraz

xakraz commented Mar 6, 2026

Copy link
Copy Markdown
Author

After rebasing other PRs on your main I get this error 🤷🏻

image

https://github.com/DataDome-OSS-contrib/helmper/actions/runs/22786049115/job/66102937257

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants