Introduction date: January 23, 2022
Introduction PR: https://github.com/mozilla/pdf.js/commit/6ac296e48e52a8940f6a869c44f768edb4674a7b (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Windows
Logs: http://54.193.163.58:8877/248efa3bf526b9a/output.txt
Traceback:

```
Failures:
3) Interaction in issue14307.pdf (1) must check input for US zip format
  Message:
[31m    Error: Timeout - Async function did not complete within 30000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)[0m
  Stack:
        at <Jasmine>
        at listOnTimeout (node:internal/timers:569:17)
        at process.processTimers (node:internal/timers:512:7)
```
pages.map(async ([browserName, page]) => {
          await page.waitForFunction(
            "window.PDFViewerApplication.scriptingReady === true"
          );
          await page.waitForFunction(`${getQuerySelector("27R")}.value !== ""`);
          const text = await page.$eval(getSelector("27R"), el => el.value);
          expect(text).withContext(`In ${browserName}`).toEqual("hello world");
        })
      );
    });
    it("must check the format action is called when setFocus is used", async () => {
      await Promise.all(
        pages.map(async ([browserName, page]) => {
          await page.waitForFunction(
            "window.PDFViewerApplication.scriptingReady === true"
          );
          await page.type(getSelector("30R"), "abc", { delay: 100 });
          await page.waitForFunction(
            `${getQuerySelector("30R")}.value !== "abc"`
          );
          await page.waitForTimeout(100);
          const focusedId = await page.evaluate(_ =>
            window.document.activeElement.getAttribute("data-element-id")
          );
          expect(focusedId).withContext(`In ${browserName}`).toEqual("31R");
        })
      );
    });
  });
  describe("in autoprint.pdf", () => {