Add scripts for playwright tests

pull/1214/head
Lim Chee Aun 2025-07-09 18:53:23 +08:00
rodzic 740abdea5d
commit 5714294d3f
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -13,7 +13,10 @@
"messages:extract:clean": "lingui extract --locale en --clean",
"messages:compile": "lingui compile",
"fetch-i18n-volunteers": "env $(cat .env.local | grep -v \"#\" | xargs) node scripts/fetch-i18n-volunteers.js",
"readme:i18n-volunteers": "node scripts/update-i18n-volunteers-readme.js"
"readme:i18n-volunteers": "node scripts/update-i18n-volunteers-readme.js",
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:headed": "playwright test --headed"
},
"dependencies": {
"@formatjs/intl-localematcher": "~0.6.1",