Is there a way that we can automatically and selectively run only relevant test cases per PR?
My company has Espresso test integrated in CI/CD pipeline so that each PR needs to go through espresso tests before they are merged. However, the espresso test takes hours to complete, and I think running full test for each PR is too much.
My first thought was to recursively 'grep' references of changed objects to figure out which test cases are relevant, but I am wondering if there is a better way.
UI tests are slow and depending many parts so keeping less test on the UI should be one of the aim. I would suggest to