Repository navigation
fix: send a single group parameter as an ordinary parameter - #1043
Merged
Merged
Conversation
A single group parameter (qase.groupParameters({ env: 'staging' })) was
sent as param_groups [["env"]]. The v2 API rejects a group of fewer than
two items with 400, which fails the whole batch, so the neighbouring
tests' results were lost and the run was left open.
A one-item group is now dropped (the value is already in params), and
only parameters with a value are put into a group.
apetrosyan1613
approved these changes
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commons 2.9.9. Found while verifying #1042 against Qase.
qase.groupParameters({ env: 'staging' })(or a single@QaseGroupParameterskey) was sent asparam_groups: [["env"]]. The v2 API answers400 param_groups.0 must have at least 2 items, and a 400 fails the whole batch: every other result in it is lost and the run is left open. Affects every reporter.Now a one-item group is dropped (its value is already in
params), and only parameters with a value go into a group.Test plan
result-transformer.test.ts; commons 717 pass; all 9 reporters' unit tests pass against the rebuilt commons400 param_groups.0 must have at least 2 items, all 3 results lost, run left openbrowser+envas single params; case 18552 keepsenv/regionas agroup; the neighbour (18553) has its comment