unit-tests #15085
Annotations
4 errors
|
frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.test.tsx#L144
TestingLibraryElementError: Unable to find an element with the text: The data model path is invalid. Choose one from the list.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div>
<fieldset
class="fds-fieldset"
>
<legend
class="fds-label fds-label--md fds-label--medium-weight fds-fieldset__legend"
>
<span
class="fds-fieldset__legend__content fds-sr-only"
>
legend
</span>
</legend>
<div>
<div
class="fds-paragraph fds-paragraph--md fds-native-select--container"
>
<label
class="fds-label fds-label--md fds-label--medium-weight fds-native-select__label"
for="select-:r1r:"
>
Type
</label>
<select
class="fds-native-select fds-native-select--md fds-focus"
id="select-:r1r:"
>
<option
value="component"
>
Component
</option>
<option
value="dataModel"
>
DataModel
</option>
<option
value="gatewayAction"
>
Gateway action
</option>
<option
value="gatewayActionContext"
>
Gateway action context
</option>
<option
value="instanceContext"
>
Instance context
</option>
<option
value="string"
>
String
</option>
<option
value="number"
>
Number
</option>
<option
value="boolean"
>
Boolean
</option>
<option
value="null"
>
Null
</option>
</select>
</div>
<div
class="fds-box--default-background fds-combobox fds-combobox--sm"
>
<label
class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label"
for="combobox-:r1v:"
>
Data model path
</label>
<div
aria-disabled="false"
class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper"
>
<div
class="fds-combobox__chip-and-input"
>
<input
aria-autocomplete="list"
aria-controls=":r1s:"
aria-expanded="false"
autocomplete="off"
class="fds-combobox__input"
id="combobox-:r1v:"
role="combobox"
value=""
/>
</div>
<div
class="fds-combobox__arrow"
>
<svg
aria-labelledby="title-r2a"
fill="none"
focusable="false"
font-size="1.5em"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-r2a"
>
arrow down
</title>
<path
clip-rule="evenodd"
d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z"
fill="currentColor"
fill
|
frontend/libs/studio-components/src/components/StudioExpression/SimplifiedEditor/LogicalExpressionEditor/SubExpression/SubExpressionValueSelector/SubexpressionValueSelector.test.tsx#L192
TestingLibraryElementError: Unable to find an element with the text: The component ID is invalid. Choose one from the list.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div>
<fieldset
class="fds-fieldset"
>
<legend
class="fds-label fds-label--md fds-label--medium-weight fds-fieldset__legend"
>
<span
class="fds-fieldset__legend__content fds-sr-only"
>
legend
</span>
</legend>
<div>
<div
class="fds-paragraph fds-paragraph--md fds-native-select--container"
>
<label
class="fds-label fds-label--md fds-label--medium-weight fds-native-select__label"
for="select-:r3c:"
>
Type
</label>
<select
class="fds-native-select fds-native-select--md fds-focus"
id="select-:r3c:"
>
<option
value="component"
>
Component
</option>
<option
value="dataModel"
>
DataModel
</option>
<option
value="gatewayAction"
>
Gateway action
</option>
<option
value="gatewayActionContext"
>
Gateway action context
</option>
<option
value="instanceContext"
>
Instance context
</option>
<option
value="string"
>
String
</option>
<option
value="number"
>
Number
</option>
<option
value="boolean"
>
Boolean
</option>
<option
value="null"
>
Null
</option>
</select>
</div>
<div
class="fds-box--default-background fds-combobox fds-combobox--sm"
>
<label
class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label"
for="combobox-:r3g:"
>
Component ID
</label>
<div
aria-disabled="false"
class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper"
>
<div
class="fds-combobox__chip-and-input"
>
<input
aria-autocomplete="list"
aria-controls=":r3d:"
aria-expanded="false"
autocomplete="off"
class="fds-combobox__input"
id="combobox-:r3g:"
role="combobox"
value="component"
/>
</div>
<div
class="fds-combobox__arrow"
>
<svg
aria-labelledby="title-r3r"
fill="none"
focusable="false"
font-size="1.5em"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-r3r"
>
arrow down
</title>
<path
clip-rule="evenodd"
d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z"
fill="currentColor"
f
|
|
This job was cancelled
Loading