Skip to content

test(docs-infra): 404 for images during unit tests on Windows #29775

@gkalpak

Description

@gkalpak

Running the unit tests for aio on Windows, many 404s are logged for images, resulting in progress logs being spread over multiple lines:

Chrome 70.0.3538 (Linux 0.0.0): Executed 0 of 609 SUCCESS (0 secs / 0 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 1 of 609 SUCCESS (0 secs / 0.304 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 2 of 609 SUCCESS (0 secs / 0.355 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 3 of 609 SUCCESS (0 secs / 0.395 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 4 of 609 SUCCESS (0 secs / 0.438 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 5 of 609 SUCCESS (0 secs / 0.471 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 6 of 609 SUCCESS (0 secs / 0.504 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 7 of 609 SUCCESS (0 secs / 0.542 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 8 of 609 SUCCESS (0 secs / 0.578 secs)
Chrome 70.0.3538 (Linux 0.0.0): Executed 9 of 609 SUCCESS (0 secs / 0.621 secs)
...

For example, running this test, I get:

WARN [web-server]: 404: /assets/images/logos/angular/logo-nav@2x.png
WARN [web-server]: 404: /assets/images/logos/angular/angular_whiteTransparent_withMargin.png

I was not able to reproduce it on a new project on Windows 🤷‍♂️
It also works fine on Linux and Windows Subsystem for Linux for aio/ as well 😕

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions