Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Delay global hotkeys tiping speed to imitate real user
Sebastian Martinez committed 2 years ago
commit afab097d09e9b3563153d4327905bb687c1f75c2
parent 1a7c28b6eae7a2a306ffe2413d8fc7a233b677ee
1 file changed +2 -1
modified tests/e2e/hotkeys.spec.ts
@@ -4,7 +4,8 @@ import { test, expect } from "@tests/support/fixtures.js";
test("global hotkeys", async ({ page }) => {
  await page.goto("/");
  await page.locator("body").press(`/`);
-
  await page.keyboard.type("searchquery");
+
  // Delaying the input speed a bit to imitate a real user.
+
  await page.keyboard.type("searchquery", { delay: 100 });

  // Keyboard hint shows up in the search bar.
  {