testomatio / check-tests

GitHub action with static analysis for JavaScript tests.
https://testomat.io
21 stars 7 forks source link

Script to update test ids doesn't work #112

Closed ken-wesley closed 1 year ago

ken-wesley commented 1 year ago

The script that we use to update the test ids does not add new test ids for added test scenarios

Script: TESTOMATIO=b0f2514004q7 npx check-tests@latest CodeceptJS "*/{.,_}{test,spec}.ts" --typescript --update-ids

Example file

More info on this slack thread.

DavertMik commented 1 year ago

@ken-wesley the example file you included contains only test that has ID I am not sure I understand how to solve this issue, looks like I don't have enough information to But let's continue the discussion in Slack

mykhailiukVitalii commented 1 year ago

It looks like this command should work as expected on the latest version check-test. @DavertMik Could u double-check, pls? @ken-wesley

poliarush commented 1 year ago

@ken-wesley please re-check it and let us know

poliarush commented 1 year ago

@ken-wesley we close this ticket, please re-open if it's reproduced on latest version