Introduction date: July 7, 2023
Introduction PR: https://github.com/mozilla/pdf.js/commit/5c5f9af803187d616703c19987eca5d7d39d9420 (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Windows
Logs: http://54.193.163.58:8877/86bd72072bc402b/output.txt
Traceback:

```
Failures:
1) FreeText Editor FreeText (edit existing in double clicking on it) must move an annotation
  Message:
[31m    In firefox: Expected '' to equal 'pdfjs_internal_editor_0-editor'.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\86bd72072bc402b\test\integration\freetext_editor_spec.js:1187:14
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Promise.all (index 0)
        at async UserContext.<anonymous> (C:\pdfjs\botio-files-pdfjs\private\86bd72072bc402b\test\integration\freetext_editor_spec.js:1176:7)
  Message:
[31m    In firefox: Expected 'inherit' to equal 'true'.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\86bd72072bc402b\test\integration\freetext_editor_spec.js:1188:61
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Promise.all (index 0)
        at async UserContext.<anonymous> (C:\pdfjs\botio-files-pdfjs\private\86bd72072bc402b\test\integration\freetext_editor_spec.js:1176:7)
```
.withContext(`In ${browserName}`)
            .toEqual(0);
        })
      );
    });
  });
  describe("FreeText on several pages", () => {
    let pages;
    beforeAll(async () => {
      pages = await loadAndWait("tracemonkey.pdf", ".annotationEditorLayer");
    });
    afterAll(async () => {
      await closePages(pages);
    });
    it("must check that first annotation is selected without errors", async () => {
      await Promise.all(
        pages.map(async ([browserName, page]) => {
          await page.click("#editorFreeText");
          const page1Selector = `.page[data-page-number = "1"] > .annotationEditorLayer`;
          let rect = await page.$eval(page1Selector, el => {
            const { x, y } = el.getBoundingClientRect();
            return { x, y };
          });
          await page.mouse.click(rect.x + 10, rect.y + 10);
          await page.waitForTimeout(10);
          await page.type(`${getEditorSelector(0)} .internal`, "Hello");
          
          await page.keyboard.press("Escape");
          await page.waitForTimeout(10);