Framework Design
Our Project consist of Cypress folder and inside that we have e2e folder where we have to write the test scripts.
e2e folder consist of the following sub-folders:
- Features
- StepDefinitions
- PageObject
- Tasks
- Util
Workflow:
-
Feature folder : Feature folder consist of three sub folders i.e. Contact, Customer and Facility,and these sub folders consist of ingest and search files.Each subfolder will have its respective test case scenarios.
-
PageObjects folder : Page object folder consist of different page object file for each web page present in the application where we will be storing all the web element of the page.The folder consist of three sub folders i.e. Contact, Customer and Facility. Each subfolder will have its respective page object files.
-
Step Definitions: Step definitions folder consist of step implementation of the test scenarios. The folder consist of three sub folders i.e. Contact, Customer and Facility. Each subfolder will have its respective step definition files.
-
Tasks : Tasks folder consist of methods for different portal functionalities.The folder consist of three sub folders i.e. Contact, Customer and Facility. Each subfolder will have its respective task definition files.
-
Util: We use this define common constants that are being used throughout the repository.