Skip to content

Commit 0e5ed2e

Browse files
committed
refactor(searchbar): add test case
1 parent 7323496 commit 0e5ed2e

File tree

1 file changed

+13
-0
lines changed
  • core/src/components/searchbar/test/basic

1 file changed

+13
-0
lines changed

core/src/components/searchbar/test/basic/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ <h5 class="ion-padding-start ion-padding-top">Search - Never Show Cancel Button<
3838
<h5 class="ion-padding-start ion-padding-top">Search - Show Cancel Button on Focus</h5>
3939
<ion-searchbar id="focusCancel" value="after view" animated="true" show-cancel-button="focus"> </ion-searchbar>
4040

41+
<h5 class="ion-padding-start ion-padding-top">Search - Show Cancel Button within Toolbar</h5>
42+
<ion-header>
43+
<ion-toolbar>
44+
<ion-buttons slot="start">
45+
<ion-back-button default-href="#"></ion-back-button>
46+
</ion-buttons>
47+
<ion-title>Test</ion-title>
48+
</ion-toolbar>
49+
<ion-toolbar>
50+
<ion-searchbar show-cancel-button="always"></ion-searchbar>
51+
</ion-toolbar>
52+
</ion-header>
53+
4154
<h5 class="ion-padding-start ion-padding-top">Search - No Clear Button</h5>
4255
<ion-searchbar id="noClear" value="after view" type="text" show-clear-button="never"> </ion-searchbar>
4356

0 commit comments

Comments
 (0)