Cypress framework overview
Fixtures:
The fixture folder in cypress is used to store external files which can be used by the test cases like excel, JSON, YAML, CSV, etc.
By default, cypress provide us the fixture folder to accumulate all the external files in this folder
Integration:
The integration folder contains the test specs (test case) files which are our actual test cases. This is also a default folder created when we use cypress first time. We can as many folders or files as we can create to segregate our test cases.
Plugins:
By default, cypress provide plugins/index.js file to load any external configuration that we need to run our test scripts
Plugins enable us to tap into, modify, or extend the internal behavior of Cypress. Plugins are a "seam" for us to write our own custom code that executes during particular stages of the Cypress lifecycle.Support:
Cypress provides another folder called support where we can write our customized commands, reusable code, or utilities that can be used while executing the code.
Videos:
By default, the cypress create the video for launch test cases through test runner under this folder
cypress.json
This file is the configuration through which the cypress runs the test cases by default cypress default values to this configuration values but we can changes. The updated values in the cypress.json will override the default values automatically at the runtime.
Comments
Post a Comment