I have four files in my integration folder under cypress folder.But from today while using the same npx cypress open command in the terminal,But there were no specs in the UI. How to overcome the issue?
Asked
Active
Viewed 223 times
0

razeem
- 43
- 6
-
Please try to close and reopen. If you are still getting errors just rename the filename and remove `.spec` use only `.js. – Krupal Vaghasiya Mar 28 '22 at 12:31
-
1Maybe your `cypress.json` file has changed the pattern to pick up tests. – jjhelguero Mar 28 '22 at 14:48
-
1What's the path of one of the files? My first guess based off of your screenshot is that you are running Cypress from a different directory than previously, and it is searching in a different place. – agoff Mar 28 '22 at 20:36
1 Answers
0
I got the solution. Direct to the path in the computer and check whether the files are presented in the path(path shown in UI). If not set the path to the files presented area or else move the files to the path shown in UI.
I think,this occurs because the files are created with the same names and the path to run the file is directed to other file having the name.

razeem
- 43
- 6