Skip to content

Commit

Permalink
Update max length value of test so assertion can be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Sep 30, 2024
1 parent 11985a1 commit 8ec7dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search-field/SearchField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test(`Search Field - Max Length Behaviour`, async ({ page }) => {
const searchField = container.locator('[data-testid]').first();
searchField.evaluate(async (t: SearchField) => {
t.value = '';
t.maxLength = 5;
t.maxLength = 6;
await t.updateComplete;
});

Expand Down

0 comments on commit 8ec7dcb

Please sign in to comment.