Conversation
|
/review |
PR Reviewer Guide 🔍(Review updated until commit 8411b4f)Here are some key observations to aid the review process:
|
|
|
/review |
|
Persistent review updated to latest commit 8411b4f |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||



User description
Description
This PR adds the assertion behavior to symphony, this will help the end user to assert is a value or element is present or not
Fixes #17
Dependencies
Mention any dependencies/packages used
Future Improvements
Mention any improvements to be done in future related to any file/feature
Mentions
Mention and tag the people
Screenshots of relevant screens
Add screenshots of relevant screens
Developer's checklist
If changes are made in the code:
PR Type
Enhancement
Description
Add five assertion actions:
isVisible,isTitle,isURL,isNotVisible,isDisabledSupport both text content and CSS selector targeting for element assertions
Support regex patterns for title and URL assertions
Create
FailedAssertionErrorfor assertion failure handlingRefactor scroll flow parameters and extract distance calculation logic
Update pre-commit hook to fail on lint warnings
Auto-generate JSON schema with comprehensive assertion documentation
Diagram Walkthrough
File Walkthrough
3 files
Add metadata for five assertion actionsAuto-generate JSON schema for assertionsAdd assertion examples to workflow demo2 files
Add FailedAssertionError exception classHandle FailedAssertionError in error handler11 files
Implement isVisible assertion flowImplement isTitle assertion flowImplement isURL assertion flowImplement isNotVisible assertion flowImplement isDisabled assertion flowExport new assertion flows with consistent syntaxRefactor scroll parameters and extract distance logicRegister five new assertion flows in registryUse chalk for colored error loggingAdd schemas and types for assertion actionsCreate utility to parse regex or string patterns2 files
Update pre-commit hook to fail on warningsAdd utils path alias to TypeScript config1 files
Reorder dependencies alphabetically