Project: Kui (App Definition and Development / Application Definition & Image Build)
File: kui_shell_test.SidecarExpect.md

/ / SidecarExpect .SidecarExpect `Const` badge(`title`, `css?`, `absent?`): (`res`: ) => `Promise`<\> Expect the given badge to exist in the sidecar header | Name | Type | Default value | | :- | :-- | : | | `title` | `string` | `undefined` | | `css?` | `string` | `undefined` | | `absent` | `boolean` | `false` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> breadcrumbs(`breadcrumbs`): (`res`: ) => `Promise`<\> | Name | Type | | : | : | | `breadcrumbs` | `string`[] | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` button(`button`): (`res`: ) => `Promise`<\> | Name | Type | | :-- | :- | | `button` | `Object` | | `button.label?` | `string` | | `button.mode` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` closed(`res`): `Promise`<\> either minimized or fully closed | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` defaultMode(`expected`): (`res`: ) => `Promise`<\> | Name | Type | | :- | :- | | `expected` | `Object` | | `expected.label?` | `string` | |

| `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` descriptionList(`content`): (`res`: ) => `Promise`<\> Expect DescriptionList content in the current tab | Name | Type | | :-- | :-- | | `content` | `Record`<`string`, `string` \| `number` \| `boolean`\> | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> form(`form`, `idPrefix?`): (`res`: ) => `Promise`<\> expect a form in the sidecar content | Name | Type | Default value | | : | :- | : | | `form` | `Record`<`string`, `string`\> | `undefined` | | `idPrefix` | `string` | `'kui-form'` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` fullyClosed(`res`): `Promise`<\> fully closed, not just minimized | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` heroName(`count`, `expectedName`): (`res`: ) => `Promise`<\> | Name | Type | | :- | :- | | `count` | `number` | | `expectedName` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` keyToClose(`res`): `Promise`<\> close the sidecar by ESCAPE key | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` kind(`expectedKind`): (`res`: ) => `Promise`<\> | Name | Type | | :- | :- | | `expectedKind` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` mode(`expectedMode`): (`res`: ) => `Promise`<\> | Name | Type | | :- | :- | | `expectedMode` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` modes(`expected`): (`res`: ) => `Promise`<\> | Name | Type | | : | :- | | `expected` | { `dafaultMode?`: `boolean` ; `label?`: `string` ; `mode`: `string` }[] | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` name(`count`, `expectedName`): (`res`: ) => `Promise`<\> | Name | Type | | :- | :- | | `count` | `number` | | `expectedName` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` namehash(`count`, `expectedNameHash`): (`res`: ) => `Promise`<\> | Name | Type | | :-- | :- | | `count` | `number` | | `expectedNameHash` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` namespace(`expectedNamespace`): (`res`: ) => `Promise`<\> | Name | Type | | : | :- | | `expectedNamespace` | `string` | `fn` (`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` notOpen(`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> `Const` open(`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> openInBlockAfter(`res`, `delta?`): `Promise`<\> Same as open(), but in the block proceding the given block | Name | Type | Default value | | : | :- | : | | `res` | | `undefined` | | `delta` | `number` | `1` | `Promise`<\> `Const` openWithFailure(`res`): `Promise`<\> | Name | Type | | :- | :- | | `res` | | `Promise`<\> popupTitle(`res`, `expectedTitle`): `Promise`<`boolean`\> | Name | Type | | :-- | :- | | `res` | | | `expectedTitle` | `string` | `Promise`<`boolean`\>