Hope everyone is doing well,
I'm trying to find a way to skip a few test cases in my localhost, any idea how I can implement that with a tag or condition skip?
f
flat-painter-96557
05/08/2023, 3:47 PM
Have you tried providing a different list of tests to specPattern in your cypress config based on the environment?
flat-painter-96557
05/08/2023, 3:48 PM
If you set a variable devList = [test1, test2]; prodList = [test3, test4] then you should be able to set specPattern = dev ? devList : prodList or something like that