Issue #3315753 by alexpott: Random fail in Drupal\Tests\media_library\FunctionalJavascript\WidgetUploadTest (cherry picked from commit dcc44243)