This is a tool for translation verification of enact app.
-
Install @enact/cli
npm install -g @enact/cli
-
Clone the code
git clone https://github.com/richjun/enactjs-translation-test-automation.git cd enactjs-translation-test-automation
-
Copy all files in your enact app's resources folder to ./resources
cp -rf yourenactapp/resources/* ./resources
-
Copy the excel file you receicved from translation company to ./excel/mms.xlsx. Please refer to sample for recognizable format.
-
Install dependencies
npm install
-
If you want to disable a function ignoring period in sentence while testing, please modify IGNORE_PERIOD in .env as the below (default is true)
IGNORE_PERIOD=false
-
Run
npm run test / npm run start / enact test