So trying to use the 'testfiles" and "ignoreTestF...
# general-chat
q
So trying to use the 'testfiles" and "ignoreTestFiles" option - but it appears I have something wrong. Any help would be appreciated. { "projectId": "76chwx", "baseUrl": "https://ui.qa.someplace.com", "testFiles": [ "api/eComm/*.js", "api/giftCard/*.js", "api/lodging/*.js", "api/oauth/*.js", "api/restaurant/*.js", "api/retail/*.js", "api/settlement/*.js", "UI/*.js" ], "ignoreTestFiles": [ "api/lodging/authEMV.js", "api/restaurant/authEMV.js", "api/restaurant/saleDevice.js", "api/retail/authDevice.js", "api/retail/saleEMV.js" ], "env": { "UI_Url": "https://ui.qa.someplace.com", "api_url": "https://api.qa.someplace.com", "uat_url": "https://api.uat.someplace.com", "login_url": "/login", "products_url": "/products", "video": "false" } }
m
Hi @User I guess you're missing some * in your file patterns for
testFiles
. Try to add an asterisk in front of
.js
, and your files ending with .js within each of the folder should be visible in the Cypress app 🙂
q
Thanks - what fixed it was putting the ignore in front of the test files array.
4 Views