Introduction date: Augustus 10, 2023
Introduction PR: https://github.com/mozilla/pdf.js/commit/402e3fed95888c1e1c5ec6cb6bf879421642a5fe (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Linux
Logs: http://54.241.84.105:8877/dca264a56383f79/output.txt (only this test prevented the run from passing entirely)
Traceback:

```
Failures:
1) FreeText Editor Move several FreeTexts must move several annotations
  Message:
[31m    In chrome: Expected 187 to equal 186.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 192 to equal 191.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 196 to equal 197.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 201 to equal 202.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 217 to equal 216.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 226 to equal 227.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 231 to equal 232.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
```
);
          });
          await page.waitForTimeout(10);
          serialized = await getSerialized(page);
          bbox = serialized[0].rect;
          width = bbox[2] - bbox[0];
          height = bbox[3] - bbox[1];
          expect(width < height)
            .withContext(`In ${browserName}`)
            .toEqual(true);
        })
      );
    });
  });
  describe("FreeText (remove)", () => {
    let pages;
    beforeAll(async () => {
      pages = await loadAndWait("tracemonkey.pdf", ".annotationEditorLayer");
    });
    afterAll(async () => {
      await closePages(pages);
    });
    it("must delete invisible annotations", async () => {
      await Promise.all(
        pages.map(async ([browserName, page]) => {
          await page.click("#editorFreeText");
          let currentId = 0;
          const oneToFourteen = Array.from(new Array(14).keys(), x => x + 1);
          for (const pageNumber of oneToFourteen) {
            const pageSelector = `.page[data-page-number = "${pageNumber}"]`;