Skip to content

Commit c491def

Browse files
authored
Merge pull request #7164 from microting/copilot/migrate-selectable-lists-tests
Migrate Selectable Lists tests from wdio to Cypress
2 parents 4b9d272 + df22916 commit c491def

File tree

7 files changed

+835
-18
lines changed

7 files changed

+835
-18
lines changed

WDIO_TO_CYPRESS_MIGRATION.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This document tracks the migration of WebDriverIO (wdio) e2e tests to Cypress te
77
## Current Status
88

99
- **Total wdio tests**: 38
10-
- **Cypress tests implemented**: 42
11-
- **Tests remaining to migrate**: 8
10+
- **Cypress tests implemented**: 46
11+
- **Tests remaining to migrate**: 4
1212

1313
## Tests Already Migrated to Cypress ✓
1414

@@ -63,7 +63,13 @@ The following wdio tests have been successfully migrated to Cypress:
6363
- ✓ searchable-lists.delete.spec.cy.ts (cypress/e2e/h/)
6464
- ✓ searchable-lists.edit.spec.cy.ts (cypress/e2e/h/)
6565

66-
## Tests to Migrate (8 tests)
66+
### Selectable Lists
67+
- ✓ selectable-lists.add.spec.cy.ts (cypress/e2e/i/)
68+
- ✓ selectable-lists.delete.spec.cy.ts (cypress/e2e/i/)
69+
- ✓ selectable-lists.edit.spec.cy.ts (cypress/e2e/i/)
70+
- ✓ selectable-lists.sort.spec.cy.ts (cypress/e2e/i/)
71+
72+
## Tests to Migrate (4 tests)
6773

6874
The following tests need to be migrated from wdio to Cypress. They are organized by functional area for easier sub-issue creation.
6975

@@ -247,20 +253,29 @@ Tests migrated:
247253

248254
---
249255

250-
### 10. Selectable Lists (4 tests)
256+
### 10. Selectable Lists (4 tests)
251257

252258
**Category**: Selectable Lists Management
253259
**Priority**: Medium
254-
**Location**: e2e/Tests/selectable-lists/
260+
**Location**: e2e/Tests/selectable-lists/
261+
**Migrated to**: cypress/e2e/i/
255262

256-
Tests to migrate:
257-
- [ ] selectable-lists.add.spec.ts
258-
- [ ] selectable-lists.delete.spec.ts
259-
- [ ] selectable-lists.edit.spec.ts
260-
- [ ] selectable-lists.sort.spec.ts
263+
Tests migrated:
264+
- selectable-lists.add.spec.cy.ts
265+
- selectable-lists.delete.spec.cy.ts
266+
- selectable-lists.edit.spec.cy.ts
267+
- selectable-lists.sort.spec.cy.ts
261268

262269
**Description**: Tests for managing selectable lists (radio button/checkbox options) including sorting functionality.
263270

271+
**Key Functionality**:
272+
- Creating selectable lists with name and description
273+
- Adding list items/options (single or multiple via import)
274+
- Editing list name and items
275+
- Deleting lists and items
276+
- Sorting lists by ID, Name, and Description
277+
- Cancel operations verification
278+
264279
---
265280

266281
### 11. User Administration (1 test) ✓
@@ -386,20 +401,20 @@ Migrate [Category Name] wdio tests to Cypress
386401

387402
Use this section to track overall migration progress:
388403

389-
- [ ] Application Settings (2 tests)
404+
- [x] Application Settings (2 tests)
390405
- [x] Device Users (3 tests) ✓
391406
- [ ] eForm Visual Editor - Create (1 test)
392-
- [ ] Folders - Folder Tree (3 tests)
393-
- [ ] Folders - Folder Child (3 tests)
407+
- [x] Folders - Folder Tree (3 tests)
408+
- [x] Folders - Folder Child (3 tests)
394409
- [x] Navigation Menu (4 tests) ✓
395410
- [x] Password Settings (1 test) ✓
396411
- [ ] Profile Settings (1 test)
397-
- [ ] Searchable Lists (3 tests)
398-
- [ ] Selectable Lists (4 tests)
412+
- [x] Searchable Lists (3 tests)
413+
- [x] Selectable Lists (4 tests)
399414
- [x] User Administration (1 test) ✓
400415
- [ ] Workers (2 tests)
401416

402-
**Total Progress**: 12/28 tests migrated (42.9%)
417+
**Total Progress**: 24/28 tests migrated (85.7%)
403418

404419
## Notes
405420

0 commit comments

Comments
 (0)