Skip to content

Commit

Permalink
#8861 fix markup test
Browse files Browse the repository at this point in the history
Fixes #8861
  • Loading branch information
Aleksey Novikov committed Sep 28, 2024
1 parent 0b9dbfb commit ed9d809
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/markup/etalon_rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ registerMarkupTests(
q1["dropdownListModel"] = dropdownListModel;
dropdownListModel["popupModel"].isVisible = true;
},
removeIds: true,
before: () => StylesManager.applyTheme("defaultV2"),
after: () => StylesManager.applyTheme("default"),
snapshot: "rating-as-dropdown-description",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="sd-scrollable-container sd-scrollable-container--compact sd-selectbase">
<div class="sv-dropdown_select-wrapper">
<div aria-controls="testid0i_list" aria-expanded="true" aria-invalid="false" aria-label="Question title" aria-required="false" class="sd-dropdown sd-dropdown--empty sd-input" id="testid0i" role="textbox" tabindex="0">
<div aria-controls="testid0i_list" aria-expanded="true" aria-invalid="false" aria-label="Question title" aria-required="false" class="sd-dropdown sd-dropdown--empty sd-input" role="textbox" tabindex="0">
<div class="sd-dropdown__value">
<input aria-controls="testid0i_list" aria-expanded="true" aria-label="Question title" autocomplete="off" class="sd-dropdown__filter-string-input" id="testid0i_undefined" inputmode="text" placeholder="Select..." readonly="" tabindex="-1" type="text">
<input aria-controls="testid0i_list" aria-expanded="true" aria-label="Question title" autocomplete="off" class="sd-dropdown__filter-string-input" inputmode="text" placeholder="Select..." readonly="" tabindex="-1" type="text">
</div>
</div>
<div>
Expand All @@ -15,7 +15,7 @@
<div class="sv-list__empty-container" style="display:none;">
<div aria-label="No data to display" class="sv-list__empty-text">No data to display</div>
</div>
<ul class="sv-list" id="sq_178i_list" role="listbox">
<ul class="sv-list" role="listbox">
<li aria-selected="false" class="sd-list__item sv-list__item" role="option" tabindex="-1">
<div class="sd-list__item-body sv-list__item-body" style="padding-inline-start:16px;" title="1">
<div class="sd-rating-dropdown-item">
Expand Down

0 comments on commit ed9d809

Please sign in to comment.