SDK-7772 WDIO Jasmine v9 platformisation - #244
Open
AdityaHirapara wants to merge 13 commits into
Open
AdityaHirapara wants to merge 13 commits into
AdityaHirapara wants to merge 13 commits into
Conversation
…772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… CLI feed (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nly (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gs on CLI (SDK-7772) - service hooks classify jasmine hooks by the WDIO hookName instead of the mocha title; the mocha skip cascade stays mocha-only - beforeTest annotates each jasmine spec with `Test: <fullName>` on the CLI flow - jasmine registers the command listener on the CLI flow; browserCommand sends HTTP command logs over gRPC (LogEntry kind HTTP) to the spec it names, and jasmine screenshots name their spec the same way - the jasmine class sends a session event for every beforeAll/afterAll start so hook runs carry their platform and Automate session, as on the legacy flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…SDK-7772)
- WdioJasmineTestFramework keeps the legacy service.after() inputs: specs ran,
the runner's failed-spec count, and the test and hook failure reasons of the
live session in the order they happened
- AutomateModule marks a jasmine worker's live session with that verdict, in
the legacy body shape {status, name, reason}; a session no spec registered is
still marked and a reloaded session keeps the mark onReload sent
- ignoreHooksStatus is read from the worker's service options, because the
binary config echo carries testObservabilityOptions empty
- other frameworks keep the existing per-test aggregation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…apabilities (port of 3cdbfec, SDK-7772) Port of 3cdbfec from SDK-7606/wdio-cucumber-platformisation-v8. sessionNamePrependTopLevelSuiteTitle and sessionNameOmitTestTitle reach the outgoing capabilities on the CLI flow and the hub rejects the session ("additional properties [...] outside of the schema"). Both are read from testContextOptions, so stripping them from the capabilities does not disable either option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…K-7772) The binary config echo cannot carry the sessionNameFormat function, so it arrives empty and the session keeps its default name. For jasmine the AutomateModule now takes the function from the worker's service options, called as legacy did (no test title). Other frameworks are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- no scan window before the first jasmine spec, as the classic handler (PRE_TEST_SCAN_FRAMEWORKS excludes jasmine); mocha/cucumber keep it - the include/exclude filter and the test name read the jasmine spec description when the test has no title Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… CLI (SDK-7772) PercySDK attaches testCase from TestReporter.currentTest.name, which legacy sets while building the TestRunStarted event. The jasmine CLI branch of onTestStart returns before that, so CLI snapshots carried no testCase. It now sets the name next to the CLI uuid. Mocha is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nary (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the binary (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited) Review profile: ASSERTIVE Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
… (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and insights-handler suites (SDK-7772) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What is this about?
Related Jira task/s
Release (mandatory for every PR — required for the
ready-for-reviewlabel)Version bump: (required — tick exactly one)
Release notes type: (optional)
Release notes (customer-facing): (optional but encouraged)
Release notes (internal): (required — engineer-facing; what actually changed / why)
Checklist
PR Validations
Run Tests: Comment RUN_TESTS to trigger sanity tests.