Recall & Review
beginner
What is the purpose of the
cypress/e2e folder?The
cypress/e2e folder holds all the end-to-end test files. These tests simulate user actions in the browser to check if the app works as expected.Click to reveal answer
beginner
What kind of files do you put in the
cypress/support folder?The
cypress/support folder contains helper files like commands and setup code that run before tests. It helps keep tests clean and reusable.Click to reveal answer
beginner
Why is the
cypress/fixtures folder important?The
cypress/fixtures folder stores sample data files (like JSON) used in tests. This data helps tests run with consistent inputs.Click to reveal answer
intermediate
What does the
cypress/plugins folder do?The
cypress/plugins folder contains code to extend Cypress’s behavior, like modifying how tests run or adding custom tasks.Click to reveal answer
beginner
How does organizing tests in the Cypress folder structure help your testing?
Organizing tests and support files in the right folders makes your project easy to understand and maintain. It helps you find tests, reuse code, and run tests smoothly.
Click to reveal answer
Which folder in Cypress holds your test scripts?
✗ Incorrect
The
cypress/e2e folder is where you write your test scripts that simulate user actions.Where do you put reusable commands and setup code in Cypress?
✗ Incorrect
The
cypress/support folder is for reusable commands and setup code that runs before tests.What type of files are stored in
cypress/fixtures?✗ Incorrect
The
cypress/fixtures folder stores sample data files like JSON used in tests.Which folder would you use to add custom tasks or extend Cypress features?
✗ Incorrect
The
cypress/plugins folder is for code that extends Cypress’s behavior or adds custom tasks.Why is it important to keep tests and support files organized in Cypress?
✗ Incorrect
Organizing files properly helps keep the project easy to maintain and understand.
Describe the main folders in the Cypress folder structure and their purposes.
Think about where you write tests, store data, add helpers, and customize Cypress.
You got /4 concepts.
Explain how organizing your Cypress project folders helps improve your testing workflow.
Consider how good organization helps teamwork and saves time.
You got /4 concepts.