Skip to content

Commit

Permalink
test now simulates actual keyboard press not insert \t.
Browse files Browse the repository at this point in the history
Signed-off-by: Onesimus Wiafe <onesimus.wiafe@turntabl.io>
  • Loading branch information
onesimus-wiafe authored and texodus committed Oct 17, 2024
1 parent df7101f commit 6c8a1df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ test.describe("Attributes Tab", () => {
"foo12345"
);

await textarea.type("\t", { delay: 100 });
await page.keyboard.press("Tab");
const expected = await textarea.evaluate((input) => input!.value);

expect(expected).toContain("\t");
Expand Down

0 comments on commit 6c8a1df

Please sign in to comment.