Skip to content

Commit

Permalink
UINV-552: update failing snapshot tests (#803)
Browse files Browse the repository at this point in the history
* tests: update snapshot tests

* Add missed permission to perform invoices export

---------

Co-authored-by: Yury Saukou <[email protected]>
  • Loading branch information
alisher-epam and usavkov-epam authored Aug 20, 2024
1 parent c7724cb commit 5a949fb
Show file tree
Hide file tree
Showing 6 changed files with 309 additions and 268 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@
"visible": true,
"subPermissions": [
"batch-groups.collection.get",
"finance.exchange-rate.item.get"
"finance.exchange-rate.item.get",
"finance.expense-classes.collection.get"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,37 @@ exports[`AdjustmentsForm should render correct structure with defined adjustment
<div
class="selectionControlContainer"
>
<button
aria-controls="downshift-:r1:-menu"
aria-expanded="false"
aria-labelledby="sl-label-selection-:r0: selected-selection-:r0:-item"
class="selectionControl formControl"
id="selection-:r0:"
type="button"
>
<span
class="sr-only"
>
stripes-components.selection.controlLabel
</span>
<div
class="singleValue"
id="selected-selection-:r0:-item"
/>
</button>
<div
class="selectionEndControls"
class="inputGroup"
>
<div
class="textFieldIcon"
<button
aria-controls="downshift-:r1:-menu"
aria-expanded="false"
aria-labelledby="sl-label-selection-:r0: selected-selection-:r0:-item"
class="selectionControl formControl"
id="selection-:r0:"
type="button"
>
<span>
Icon
<span
class="sr-only"
>
stripes-components.selection.controlLabel
</span>
<div
class="singleValue"
id="selected-selection-:r0:-item"
/>
</button>
<div
class="selectionEndControls"
>
<div
class="textFieldIcon"
>
<span>
Icon
</span>
</div>
</div>
</div>
<div
Expand Down Expand Up @@ -520,33 +524,37 @@ exports[`AdjustmentsForm should render correct structure without adjustments 1`]
<div
class="selectionControlContainer"
>
<button
aria-controls="downshift-:r3:-menu"
aria-expanded="false"
aria-labelledby="sl-label-selection-:r2: selected-selection-:r2:-item"
class="selectionControl formControl"
id="selection-:r2:"
type="button"
>
<span
class="sr-only"
>
stripes-components.selection.controlLabel
</span>
<div
class="singleValue"
id="selected-selection-:r2:-item"
/>
</button>
<div
class="selectionEndControls"
class="inputGroup"
>
<div
class="textFieldIcon"
<button
aria-controls="downshift-:r3:-menu"
aria-expanded="false"
aria-labelledby="sl-label-selection-:r2: selected-selection-:r2:-item"
class="selectionControl formControl"
id="selection-:r2:"
type="button"
>
<span>
Icon
<span
class="sr-only"
>
stripes-components.selection.controlLabel
</span>
<div
class="singleValue"
id="selected-selection-:r2:-item"
/>
</button>
<div
class="selectionEndControls"
>
<div
class="textFieldIcon"
>
<span>
Icon
</span>
</div>
</div>
</div>
<div
Expand Down
Loading

0 comments on commit 5a949fb

Please sign in to comment.