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