Skip to content

SDK-7772 WDIO Jasmine v9 platformisation - #244

Open
AdityaHirapara wants to merge 13 commits into
mainfrom
SDK-7772/wdio-jasmine-platformisation
Open

AdityaHirapara wants to merge 13 commits into
mainfrom
SDK-7772/wdio-jasmine-platformisation

Conversation

@AdityaHirapara

Copy link
Copy Markdown
Collaborator

What is this about?

Related Jira task/s

Release (mandatory for every PR — required for the ready-for-review label)

Version bump: (required — tick exactly one)

  • minor (backwards-compatible feature)
  • patch (bug fix or other small change)

Release notes type: (optional)

  • New Feature
  • Bug Fix
  • Other Improvement

Release notes (customer-facing): (optional but encouraged)

Release notes (internal): (required — engineer-facing; what actually changed / why)

Checklist

  • Ready to review
  • Has it been tested locally?

PR Validations

Run Tests: Comment RUN_TESTS to trigger sanity tests.

AdityaHirapara and others added 11 commits September 26, 2026 08:41
…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>
@AdityaHirapara
AdityaHirapara requested a review from a team as a code owner September 29, 2026 05:01
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 272818b5-2dcc-443f-9ab5-badb1eb269a6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

AdityaHirapara and others added 2 commits September 29, 2026 20:21
… (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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant