Skip to content

Commit

Permalink
Fix makup tests #8764
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Sep 7, 2024
1 parent 3d255d5 commit 9bc2346
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions tests/markup/etalon_paneldynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ registerMarkupTests(
},
]
},
removeIds: true,
snapshot: "paneldynamic-progress-top-legacy-navigation",
},
{
Expand Down Expand Up @@ -47,6 +48,7 @@ registerMarkupTests(
},
]
},
removeIds: true,
snapshot: "paneldynamic-progress-bottom-legacy-navigation",
},
{
Expand Down Expand Up @@ -79,10 +81,11 @@ registerMarkupTests(
},
]
},
removeIds: true,
snapshot: "paneldynamic-list-legacy-navigation",
},
{
name: "Test paneldynamic (list) markup",
name: "Test paneldynamic (list) #1 markup",
json: {
questions: [
{
Expand All @@ -99,7 +102,7 @@ registerMarkupTests(
after: () => StylesManager.applyTheme("default"),
},
{
name: "Test paneldynamic (list) markup",
name: "Test paneldynamic (list) #2 markup",
json: {
questions: [
{
Expand Down Expand Up @@ -127,7 +130,7 @@ registerMarkupTests(
after: () => StylesManager.applyTheme("default"),
},
{
name: "Test paneldynamic (list) markup",
name: "Test paneldynamic (list) #3 markup",
json: {
questions: [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/markup/snapshots/paneldynamic-list.snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
<div class="sv-action" id="sv-pd-add-btn">
<div class="sv-action__content">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" type="button">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" id="testid0addPanel" type="button">
<span>
<span class="sv-string-viewer">Add new</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
<div class="sv-action" id="sv-pd-add-btn">
<div class="sv-action__content">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" type="button">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" id="testid0addPanel" type="button">
<span>
<span class="sv-string-viewer">Add new</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
<div class="sv-action" id="sv-pd-add-btn">
<div class="sv-action__content">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" type="button">
<button class="sd-action sd-paneldynamic__add-btn sd-paneldynamic__add-btn--list-mode sd-paneldynamic__btn" id="testid0addPanel" type="button">
<span>
<span class="sv-string-viewer">Add new</span>
</span>
Expand Down

0 comments on commit 9bc2346

Please sign in to comment.