Skip to content

add: httpassert - add method to extract status code - #315

Merged
mgoetzegb merged 2 commits into
mainfrom
get-status-code
May 26, 2026
Merged

add: httpassert - add method to extract status code#315
mgoetzegb merged 2 commits into
mainfrom
get-status-code

Conversation

@mgoetzegb

@mgoetzegb mgoetzegb commented May 26, 2026

Copy link
Copy Markdown
Member

What

httpassert - add method to extract status code

Why

To allow to use additional logic when comparing the status code. E.g. status code is not X and Y for cases testing endpoint permissions.

Checklist

  • Tests

@mgoetzegb
mgoetzegb requested review from a team as code owners May 26, 2026 11:48
@mgoetzegb mgoetzegb added the minor release Set label to create a minor release label May 26, 2026
@mgoetzegb mgoetzegb closed this May 26, 2026
@mgoetzegb mgoetzegb reopened this May 26, 2026
@github-actions

github-actions Bot commented May 26, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 6dd2988.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@github-actions

Copy link
Copy Markdown

Conventional Commits Report

Type Number
Added 1

🚀 Conventional commits found.

@mgoetzegb

Copy link
Copy Markdown
Member Author

reopened PR to trigger Github action (were not triggered due to previous github side outage)

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.75%. Comparing base (1cb648e) to head (6dd2988).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
+ Coverage   57.72%   57.75%   +0.02%     
==========================================
  Files          59       59              
  Lines        3080     3082       +2     
==========================================
+ Hits         1778     1780       +2     
  Misses       1165     1165              
  Partials      137      137              
Flag Coverage Δ
opensearch-tests 95.68% <ø> (ø)
postgres-tests 92.03% <ø> (ø)
unit-tests 50.65% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mgoetzegb
mgoetzegb enabled auto-merge (squash) May 26, 2026 14:52
@mgoetzegb
mgoetzegb merged commit c64b67d into main May 26, 2026
13 checks passed
@mgoetzegb
mgoetzegb deleted the get-status-code branch May 26, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor release Set label to create a minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants