Repository navigation
fix: scope wdio metadata to its test and read all Cucumber tags - #1042
Merged
Merged
Conversation
- qase.ignore() and qase.comment() were reset only when a suite ended, so one ignore dropped every later test of the describe or feature. They are now reset when a test starts. - Cucumber tags: read the same set as cucumberjs-qase-reporter (@QaseTitle, @QaseSuite, @QaseTags, @QaseFields, @QaseParameters, @QaseGroupParameters, @QaseIgnore, @Q-N, @qaseid.PROJ(ids)); keep the documented @title=/@suite=/@tags=; values may contain "=". - Nested suites from a tab or a literal \t (Gherkin tags cannot hold a tab). - A screenshot outside a test no longer throws and fails the spec. - attach({ paths }) accepts a single string. - attachJSON MIME types were swapped; empty command responses are no longer attached as "undefined". - Docs: tag examples without whitespace (Gherkin rejects them), full tag list, valid severity values, useCucumber is not auto-detected. - Examples: it(qase.ignore(), ...) crashed Mocha; WebdriverIO 9 removed toHaveTextContaining and changed $$().map(); cart state leaked between saucedemo tests.
apetrosyan1613
approved these changes
Oct 30, 2026
2 tasks done
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
wdio-qase-reporter 1.8.0 — the wdio part of the 2026-10-30 audit.
Bugs
qase.ignore()/qase.comment()were reset only at suite end → oneignoredropped every later test of thedescribe/feature, a comment leaked into every later result. Now reset on test start.@QaseID=,@Title=,@Suite=,@Tags=,@QaseMuted. Now the same set as cucumberjs:@QaseTitle,@QaseSuite,@QaseTags,@QaseFields,@QaseParameters,@QaseGroupParameters,@QaseIgnore,@Q-N,@qaseid.PROJ(ids); old spellings kept; values may contain=.\t.before) threwThere isn't any active test!and failed the whole spec with no results.attach({ paths: 'file' })iterated the string's characters.attachJSONMIME types were swapped; empty command responses attached asundefined.Docs / examples
A tag may not contain whitespace). Full tag list, validseverityvalues,useCucumberis not auto-detected,mode: 'testops'.it(qase.ignore(), ...)crashed Mocha (Test argument "title" should be a string); WebdriverIO 9 removedtoHaveTextContainingand changed$$().map(); saucedemo cart state leaked between tests.Test plan
main) vs new build, report mode: old mocha run dies on thebeforescreenshot (no results), new reports 6/6; old Cucumber ignores most tags, new applies allOuter > Inner, single-path attachment uploaded@QaseID=1 @Q-2→ cases 1 and 2, params/group params/tags applied,@QaseIgnorescenario absentexamples/single/wdio): 16/16 passed