Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 1015520

Browse files
committed
fix(packages/core): REPL UI should emit "ok" for multimodalresponse
Fixes #3100
1 parent 8c4e31a commit 1015520

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/core/src/webapp/print.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ export const printResults = (
358358
return true
359359
} else if (isMultiModalResponse(response)) {
360360
await showMultiModalResponse(tab, response)
361+
if (!isPopup()) {
362+
ok(resultDom.parentElement)
363+
}
361364
} else if (isMixedResponse(response)) {
362365
debug('mixed response')
363366
const paragraph = (part: MixedResponsePart) => {

plugins/plugin-manager/src/test/manager/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Common.localDescribe('plugin manager', function(this: Common.ISuite) {
7272

7373
it('should show the plugin details via plugin get', () =>
7474
CLI.command('plugin get @kui-shell/plugin-sample', this.app)
75-
.then(ReplExpect.blank)
75+
.then(ReplExpect.justOK)
7676
.then(SidecarExpect.open)
7777
.then(SidecarExpect.showing('@kui-shell/plugin-sample'))
7878
.then(SidecarExpect.mode('commands'))

0 commit comments

Comments
 (0)