Skip to content

Add httpPostForm() method to HttpClientSupport - #15735

Merged
matrei merged 3 commits into
8.0.xfrom
feat/http-client-form-post
Jun 15, 2026
Merged

Add httpPostForm() method to HttpClientSupport#15735
matrei merged 3 commits into
8.0.xfrom
feat/http-client-form-post

Conversation

@matrei

@matrei matrei commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces a new helper method, httpPostForm, to the HttpClientSupport trait, making it easier to send application/x-www-form-urlencoded requests in integration tests.

@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 48.4352%. Comparing base (7da662f) to head (5aff68c).

Files with missing lines Patch % Lines
...rails/testing/http/client/HttpClientSupport.groovy 66.6667% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #15735        +/-   ##
==================================================
+ Coverage     48.4322%   48.4352%   +0.0030%     
  Complexity      15265      15265                
==================================================
  Files            1875       1875                
  Lines           85852      85855         +3     
  Branches        14972      14972                
==================================================
+ Hits            41580      41584         +4     
+ Misses          37863      37862         -1     
  Partials         6409       6409                
Files with missing lines Coverage Δ
...rails/testing/http/client/HttpClientSupport.groovy 80.0000% <66.6667%> (-20.0000%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@testlens-app

testlens-app Bot commented Jun 14, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 5aff68c
▶️ Tests: 41848 executed
⚪️ Checks: 43/43 completed


Learn more about TestLens at testlens.app.

@matrei
matrei merged commit 413a537 into 8.0.x Jun 15, 2026
46 checks passed
@matrei
matrei deleted the feat/http-client-form-post branch June 15, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants