Skip to content

Commit ebab015

Browse files
committed
chore: autocomplete tests updated
1 parent 02fd207 commit ebab015

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/.pest/snapshots/Feature/Components/AutocompleteTest/_Renders_correctly__→_it_renders_old_value_when_old_is_present.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<div class="ac-wrapper" >
1+
<div class="ac-wrapper"
2+
3+
>
24

35

46
<select name="country" id="country" tabindex="-1"

tests/Feature/Components/AutocompleteTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
placeholder="Start typing..."
8181
allow-clear
8282
empty-value="0"
83+
allow-custom-values
8384
/>',
8485
['options' => TEST_OPTIONS]
8586
);
@@ -88,6 +89,7 @@
8889
->assertSee('<label', false)
8990
->assertSee('class="ac-wrapper"', false)
9091
->assertSee('<option value="it" selected', false)
92+
->assertSee('data-allow-custom', false)
9193
->and($view)->toMatchSnapshot();
9294
});
9395

0 commit comments

Comments
 (0)