Skip to content

Commit

Permalink
test(lib): replace snapshots affected by CompatFallthroughMixin (#223)
Browse files Browse the repository at this point in the history
Some spec snapshots were affected by introduction of the
`compat-fallthrough` prop by `Input` or `Autocomplete`; the
`compat-fallthrough` prop appeared on the underlying stubbed components.
However, `Input` and `Autocomplete` later introduced the
`CompatFallthroughMixin` mixin to reduce the duplicate code. Since
stubbed components won't bear props in mixins, the affected snapshots no
longer contain the `compat-fallthrough` prop on the stubs.
  • Loading branch information
kikuomax authored Apr 4, 2024
1 parent 5e1c167 commit e016e37
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BClockpicker render correctly 1`] = `
<div class="b-clockpicker control is-primary">
<div class="dropdown dropdown-menu-animation is-mobile-modal">
<div tabindex="0" class="dropdown-trigger" aria-haspopup="true">
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" autocomplete="off" loading="false" readonly="" rounded="false" use-html5-validation="true"></b-input-stub>
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" autocomplete="off" loading="false" readonly="" rounded="false" use-html5-validation="true"></b-input-stub>
</div>
<transition-stub name="fade" appear="false" persisted="false" css="true">
<div class="background" aria-hidden="true" style="display: none;"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports[`BColorpicker render correctly 1`] = `
<div class="field-body">
<div class="field">
<!--v-if-->
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" modelmodifiers="[object Object]" size="is-small" aria-label="Red"></b-input-stub>
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" modelmodifiers="[object Object]" size="is-small" aria-label="Red"></b-input-stub>
<!--v-if-->
</div>
</div>
Expand All @@ -44,7 +44,7 @@ exports[`BColorpicker render correctly 1`] = `
<div class="field-body">
<div class="field">
<!--v-if-->
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" modelmodifiers="[object Object]" size="is-small" aria-label="Green"></b-input-stub>
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" modelmodifiers="[object Object]" size="is-small" aria-label="Green"></b-input-stub>
<!--v-if-->
</div>
</div>
Expand All @@ -55,7 +55,7 @@ exports[`BColorpicker render correctly 1`] = `
<div class="field-body">
<div class="field">
<!--v-if-->
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" modelmodifiers="[object Object]" size="is-small" aria-label="Blue"></b-input-stub>
<b-input-stub modelvalue="0" type="number" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" modelmodifiers="[object Object]" size="is-small" aria-label="Blue"></b-input-stub>
<!--v-if-->
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BDatepicker render correctly 1`] = `
<div class="datepicker control">
<div class="dropdown dropdown-menu-animation is-mobile-modal">
<div tabindex="-1" class="dropdown-trigger" aria-haspopup="true">
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" autocomplete="off" rounded="false" loading="false" readonly="" use-html5-validation="false"></b-input-stub>
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" autocomplete="off" rounded="false" loading="false" readonly="" use-html5-validation="false"></b-input-stub>
</div>
<transition-stub name="fade" appear="false" persisted="false" css="true">
<div class="background" aria-hidden="true" style="display: none;"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`BTaginput render correctly 1`] = `
<div class="taginput control">
<div class="taginput-container is-focusable">
<b-autocomplete-stub modelvalue="" data="" field="value" keepfirst="false" clearonselect="false" openonfocus="false" checkinfinitescroll="false" keepopen="true" selectonclickoutside="false" clearable="false" dropdownposition="auto" iconrightclickable="false" appendtobody="false" type="text" confirmkeys=",,Tab,Enter" selectableheader="false" selectablefooter="false" compatfallthrough="true" has-counter="false" loading="false" use-html5-validation="true"></b-autocomplete-stub>
<b-autocomplete-stub modelvalue="" data="" field="value" keepfirst="false" clearonselect="false" openonfocus="false" checkinfinitescroll="false" keepopen="true" selectonclickoutside="false" clearable="false" dropdownposition="auto" iconrightclickable="false" appendtobody="false" type="text" confirmkeys=",,Tab,Enter" selectableheader="false" selectablefooter="false" has-counter="false" loading="false" use-html5-validation="true"></b-autocomplete-stub>
</div>
<!--v-if-->
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BTimepicker render correctly 1`] = `
<div class="timepicker control">
<div class="dropdown dropdown-menu-animation is-mobile-modal">
<div tabindex="0" class="dropdown-trigger" aria-haspopup="true">
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" compatfallthrough="true" autocomplete="off" loading="false" readonly="" rounded="false" use-html5-validation="true"></b-input-stub>
<b-input-stub type="text" lazy="false" passwordreveal="false" iconclickable="false" hascounter="true" customclass="" iconrightclickable="false" autocomplete="off" loading="false" readonly="" rounded="false" use-html5-validation="true"></b-input-stub>
</div>
<transition-stub name="fade" appear="false" persisted="false" css="true">
<div class="background" aria-hidden="true" style="display: none;"></div>
Expand Down

0 comments on commit e016e37

Please sign in to comment.