Skip to content

Commit 6c8a1df

Browse files
sarpong4texodus
authored andcommitted
test now simulates actual keyboard press not insert \t.
Signed-off-by: Onesimus Wiafe <onesimus.wiafe@turntabl.io>
1 parent df7101f commit 6c8a1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/perspective-viewer/test/js/column_settings/attributes_tab.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test.describe("Attributes Tab", () => {
118118
"foo12345"
119119
);
120120

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

124124
expect(expected).toContain("\t");

0 commit comments

Comments
 (0)