getgauge / taiko

A node.js library for testing modern web applications
https://taiko.dev
MIT License
3.57k stars 453 forks source link

Foreign language fonts are not loading properly on Chrome browser #2568

Closed NithinPrabhakar closed 2 years ago

NithinPrabhakar commented 2 years ago

While running the scripts in headless mode windows based machine the site frontend was loading properly and even the font, after switching to AWS Linux machine fonts are not loading properly(ex: Japanese, Chinese and Korean), fonts are displayed like boxes. Any suggestions on how to resolve this issue? 

To Reproduce Steps (or script) to reproduce the behaviour:

  1. Goto 'https://www.esteelauder.co.kr/product/681/97386/revitalizing-supreme#'
  2. gauge.screenshot()

Expected behaviour Font should load properly for both website and emulator

Expected Screenshot image

Actual Screenshot image

Versions:

Taiko: [Version: 1.2.8] OS [Amazon Linux 2] Gauge version: 1.1.8 Commit Hash: b1501f4 Chrome: 94.0.4606.81

Plugins

html-report (4.0.12) js (2.4.0) screenshot (0.1.0)