mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
47.09k stars 9.81k forks source link

Refactor the copy/paste logic in the integration tests and fix a race condition involving the `waitForEvent` integration test helper function #18331

Closed timvandermeij closed 4 days ago

timvandermeij commented 5 days ago

The commit messages contain more details about the individual changes.

Note that this patch should fix the waitForEvent timeout logs (but not the waitForEvent validation logs yet) and reduce the likelyhood of the FreeText Editor Paste some html must check that pasting html just keep the text integration test, and other related integration tests, failing (but not completely fix it yet). I'm fairly sure I now know how to fix it completely, but that'll be done in a follow-up which builds on top of this patch and the previous patches.

Fixes a part of #17931.

timvandermeij commented 5 days ago

/botio integrationtest

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 1

Live output at: http://54.241.84.105:8877/a8bd6379e9f108b/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 1

Live output at: http://54.193.163.58:8877/ecc6f7761afddf0/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/a8bd6379e9f108b/output.txt

Total script time: 7.72 mins

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/ecc6f7761afddf0/output.txt

Total script time: 19.34 mins

timvandermeij commented 5 days ago

/botio integrationtest

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/8b2d77b3699e0cb/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/e6303dacd1d3a72/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/e6303dacd1d3a72/output.txt

Total script time: 8.13 mins

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/8b2d77b3699e0cb/output.txt

Total script time: 18.78 mins

timvandermeij commented 5 days ago

/botio integrationtest

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/270824e9e72aaca/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/4781d821f5a0b5f/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/4781d821f5a0b5f/output.txt

Total script time: 7.78 mins

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/270824e9e72aaca/output.txt

Total script time: 19.89 mins

timvandermeij commented 5 days ago

/botio integrationtest

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/68085c03b258a42/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/4fce05545aa2f20/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/68085c03b258a42/output.txt

Total script time: 8.14 mins

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/4fce05545aa2f20/output.txt

Total script time: 19.06 mins

timvandermeij commented 5 days ago

/botio integrationtest

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/107b5a7a5acaa86/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/6d478446cda4323/output.txt

moz-tools-bot commented 5 days ago

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/6d478446cda4323/output.txt

Total script time: 7.76 mins

moz-tools-bot commented 5 days ago

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/107b5a7a5acaa86/output.txt

Total script time: 18.42 mins

timvandermeij commented 4 days ago

/botio integrationtest

moz-tools-bot commented 4 days ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/b791c8df3a640d7/output.txt

moz-tools-bot commented 4 days ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/be8cb320ef713bf/output.txt

moz-tools-bot commented 4 days ago

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/b791c8df3a640d7/output.txt

Total script time: 7.75 mins

moz-tools-bot commented 4 days ago

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/be8cb320ef713bf/output.txt

Total script time: 18.82 mins