🟡 MEDIUM - Data entry feature
Migrate Searchable Lists wdio tests to Cypress. Searchable lists are dropdown components with search functionality used in eForms for data entry.
-
searchable-lists.add.spec.ts- Creating searchable lists -
searchable-lists.delete.spec.ts- Deleting searchable lists -
searchable-lists.edit.spec.ts- Editing searchable lists
- wdio tests:
eform-client/e2e/Tests/searchable-lists/ - Target location:
eform-client/cypress/e2e/h/(or appropriate grouping)
- Should create new searchable list
- Should add list name
- Should add list items/values
- Should validate required fields
- Should verify list appears in management view
- Should edit searchable list name
- Should add new items to existing list
- Should remove items from list
- Should reorder list items
- Should save changes successfully
- Should delete searchable list
- Should confirm deletion
- Should verify list removed
- Should handle cancel deletion
- Action: Create page objects for searchable lists in Cypress
- Reference: Check if page object exists in wdio version
- Navigate to searchable lists management
- Create new searchable list
- Add list items/values
- Edit list name and items
- Reorder items (if supported)
- Delete lists
- Validate list usage in eForms (optional)
- Search functionality within lists
- All 3 test files migrated to Cypress
- Tests follow existing Cypress patterns
- Page objects created for searchable lists
- All CRUD operations tested
- List item management tested
- Tests pass locally
- Tests pass in CI/CD pipeline
- Test lists properly cleaned up
- Use
cy.intercept()for searchable lists API calls - Handle list item collection (add/remove/reorder)
- Test both management interface and list rendering
- Ensure proper cleanup of test lists
- May need to interact with ng-select or similar dropdown components
// ng-select example
cy.get('.ng-select-container').click();
cy.get('.ng-select-dropdown-panel').contains('Option 1').click();
// Or using custom commands if available
cy.selectValue('fieldId', 'Option 1');- Login functionality (already available in Cypress)
- Navigation to lists management
- Helper functions for ng-select if used
Small-Medium (2-3 hours) - Standard CRUD with collection management
Before closing this issue:
- All 3 test files passing
- Lists created/edited/deleted correctly
- List items managed correctly
- Search functionality working
- Test data properly cleaned up
- No leftover lists after tests
- Tests are deterministic
- Code reviewed
- Update
WDIO_TO_CYPRESS_MIGRATION.mdprogress tracking