TenKeyLabs / dappwright

🏌🏼‍E2E testing for dApps using Playwright + MetaMask & Coinbase Wallet
https://www.npmjs.com/package/@tenkeylabs/dappwright
Other
82 stars 21 forks source link

locale problem #329

Closed lushunming closed 3 months ago

lushunming commented 4 months ago

Describe the bug My locale is China and metamask show in Chinese default , it will timeout when running to waiting for locator('.tab-bar__tab').filter({ hasText: 'Advanced' }),Because it shows 高级 instead of Advanced in Chinese .

To Reproduce Steps to reproduce the behavior:

  1. run a test and it will stop at Metamask setting

Logs

waiting for locator('.tab-bar__tab').filter({ hasText: 'Advanced' })

Expected behavior

Screenshots

image

System: