Cypress Project Structure

Pragati Sharma: So, here, you would be able to see that we have four different folders, so we have fixtures, Integrations, Plugins, and support, so fixtures would have all the data validation files where we can have some hard coded data that we can use for assertions. Integration is the area where you would be having a test file. So here is where you put on your test suites and test cases. Then we have Plugins so Plugins are required whenever you want to load your project or whenever the project gets open in case conflict changes are there. So it would be able to come and take that. Support, support is another folder in Cypress which would have all your custom commands in case you make things some commands which are not inbuilt you want to make some of your own commands. You can use support folder and in case you want to have like Project Wide Hooks, you can put them in support folders as well. 

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}