Provide data that the AI agent will use when running all tests. This feature ensures the agent understands key aspects of your site, enabling more accurate and reliable test execution.
How it Works:
- Centralized Information: Define project-specific details that the AI agent should consider during testing.
- Context-Aware Testing: The agent uses this data to adapt its actions based on your website’s behavior and requirements.
What Should You Add to Project Context?
Project Contexts should include information that helps the AI understand and interact with your application effectively. Examples include:
- Website Behavior Rules: Define interactions such as requiring hover actions before clicking menu items.
- Domain-Specific Constraints: Specify rules such as only using Swedish company data if your service handles Swedish businesses.
- Testing Guidelines: Ensure that tests fail on specific conditions, such as obvious typos or interactions with restricted UI elements.
Examples of Project Context Data:
- The service is a route planning tool for American railways.
- When creating users, always use Swedish names.
- Always fail tests when obvious typos are found.
- If a button is red, it should never be clicked.
You find the Project Context settings if you go to Project Settings – Configs