Skip to content

[One Workflow] Add more unit tests to workflows_extensions plugin#260384

Merged
dej611 merged 1 commit intoelastic:mainfrom
dej611:fix/workflow_extensions_coverage
Mar 31, 2026
Merged

[One Workflow] Add more unit tests to workflows_extensions plugin#260384
dej611 merged 1 commit intoelastic:mainfrom
dej611:fix/workflow_extensions_coverage

Conversation

@dej611
Copy link
Copy Markdown
Contributor

@dej611 dej611 commented Mar 31, 2026

Summary

$ yarn test:jest --config=src/platform/plugins/shared/workflows_extensions/jest.config.js --coverage --coverageReporters=text-summary
...
=============================== Coverage summary ===============================
Statements   : 81.49% ( 837/1027 )
Branches     : 90.09% ( 473/525 )
Functions    : 61.88% ( 138/223 )
Lines        : 83.86% ( 816/973 )
================================================================================

Test Suites: 29 passed, 29 total
Tests:       530 passed, 530 total

Checklist

@dej611 dej611 requested a review from a team as a code owner March 31, 2026 07:44
@dej611 dej611 added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels Team:One Workflow Team label for One Workflow (Workflow automation) v9.4.0 labels Mar 31, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #134 / X-Pack Accessibility Tests - Group 1 Management index management indices indices with data index details index details - overview

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
workflowsExtensions 3 4 +1

Total ESLint disabled count

id before after diff
workflowsExtensions 3 4 +1

Copy link
Copy Markdown
Contributor

@rosomri rosomri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dej611 dej611 merged commit c6d3773 into elastic:main Mar 31, 2026
29 checks passed
@kibanamachine kibanamachine added backport:skip This PR does not require backporting and removed backport:version Backport to applied version labels labels Mar 31, 2026
mbondyra added a commit to mbondyra/kibana that referenced this pull request Mar 31, 2026
…hanges

* commit 'd0e62a657916e84694a93983e513ce9e34e0b635': (27 commits)
  [Agent Builder] Agent overview page design updates (elastic#260468)
  [Inference UI] Add model detail flyout with endpoint management (elastic#260307)
  [Fleet] Update doc links in agent policy settings (elastic#260245)
  [Security Solution] show risk score in new flyout header (elastic#260187)
  Replace deprecated EUI icons in files owned by @elastic/kibana-security (elastic#255636)
  [Cases][Templates] Add DATE_PICKER field control type (elastic#260209)
  [SharedUX] Get spaces callout on each solution nav (elastic#259723)
  [SharedUX] Preserve feature visibility on solution change (elastic#259316)
  [CI] Increase investigations cypress disks to 110G (elastic#260423)
  [Agent Builder] Expose read-only conversations on plugin start contract (elastic#260435)
  [dasboards as code] drop panels with server errors (elastic#260073)
  [One Workflow] Add force-delete (hard delete) option for workflows (elastic#260391)
  [Agent Builder] Fix sidebar error handling error (elastic#260446)
  [Agent Builder] Add attachment origin to Converse API (elastic#259043)
  [Alerting v2] Fix rule results preview chart responsiveness (elastic#260444)
  [Streams] Processing error panel UI improvements (elastic#260028)
  fix flaky test: alert details error page timeout (elastic#260302)
  [Agent Builder] Add attachment origin to Converse API (elastic#259043)
  [One Workflow] Add more unit tests to workflows_extensions plugin (elastic#260384)
  [ResponseOps] Split alerting security_and_spaces group8 FTR config to fix CI timeout (elastic#260029)
  ...
jeramysoucy pushed a commit to jeramysoucy/kibana that referenced this pull request Apr 1, 2026
…astic#260384)

## Summary

```
$ yarn test:jest --config=src/platform/plugins/shared/workflows_extensions/jest.config.js --coverage --coverageReporters=text-summary
...
=============================== Coverage summary ===============================
Statements   : 81.49% ( 837/1027 )
Branches     : 90.09% ( 473/525 )
Functions    : 61.88% ( 138/223 )
Lines        : 83.86% ( 816/973 )
================================================================================

Test Suites: 29 passed, 29 total
Tests:       530 passed, 530 total
```


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Apr 2, 2026
…astic#260384)

## Summary

```
$ yarn test:jest --config=src/platform/plugins/shared/workflows_extensions/jest.config.js --coverage --coverageReporters=text-summary
...
=============================== Coverage summary ===============================
Statements   : 81.49% ( 837/1027 )
Branches     : 90.09% ( 473/525 )
Functions    : 61.88% ( 138/223 )
Lines        : 83.86% ( 816/973 )
================================================================================

Test Suites: 29 passed, 29 total
Tests:       530 passed, 530 total
```


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:One Workflow Team label for One Workflow (Workflow automation) v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants