Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<TAB> key press inserts '\t' character in code editor as indentation. #2779

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test now simulates actual keyboard press not insert \t.
Signed-off-by: Onesimus Wiafe <onesimus.wiafe@turntabl.io>
  • Loading branch information
onesimus-wiafe authored and texodus committed Oct 17, 2024
commit 6c8a1dffcedcac6e2bdee50b468baed3b5a5a5c8
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
Loading