Skip to content

[BUG] Fonts do not applied in Chromium if use page.route() before mount() #27294

@RiceWithMeat

Description

@RiceWithMeat

System info

  • Playwright Version: [v1.38]
  • Operating System: [macOS 13.2.1]
  • Browser: [Chromium]

If use page.route() before component mount(), fonts will not load in Chromium. Other CSS applied correctly.
I ran same test in Safari and all CSS works fine.

Link to the GitHub repository with the repro

https://github.com/RiceWithMeat/playwright-ct-fonts-bug

Expected

Montserrat font used for h1

Actual

Times New Roman used for h1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions