Skip to content

Commit 1942eed

Browse files
Copilotrenemadsen
andcommitted
Add comprehensive WDIO to Cypress migration documentation
Co-authored-by: renemadsen <[email protected]>
1 parent 51b1d48 commit 1942eed

15 files changed

+1787
-0
lines changed

MIGRATION_SUMMARY.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# WDIO to Cypress Migration - Quick Summary
2+
3+
## Migration Status
4+
5+
| Category | Tests | Priority | Status |
6+
|----------|-------|----------|--------|
7+
| Application Settings | 2 | Medium | ⏳ Pending |
8+
| Device Users | 3 | High | ⏳ Pending |
9+
| eForm Visual Editor - Create | 1 | High | ⏳ Pending |
10+
| Folders - Tree | 3 | Medium | ⏳ Pending |
11+
| Folders - Child | 3 | Medium | ⏳ Pending |
12+
| Navigation Menu | 4 | Medium | ⏳ Pending |
13+
| Password Settings | 1 | High | ⏳ Pending |
14+
| Profile Settings | 1 | Medium | ⏳ Pending |
15+
| Searchable Lists | 3 | Medium | ⏳ Pending |
16+
| Selectable Lists | 4 | Medium | ⏳ Pending |
17+
| User Administration | 1 | High | ⏳ Pending |
18+
| Workers | 2 | Medium | ⏳ Pending |
19+
| **TOTAL** | **28** | | **0% Complete** |
20+
21+
## Already Migrated (10 test files)
22+
23+
**Main Page eForms** (6 tests): create, filter, sort, delete, pairing, tags
24+
**Sites** (1 test): site-tag.multi
25+
**Navigation** (1 test): subheader
26+
**eForm Visual Editor** (3 tests): edit-eform, edit-xml, multi-language
27+
**Database Configuration** (1 test): database-configuration
28+
29+
## Recommended Sub-Issue Groups
30+
31+
### High Priority (5 tests)
32+
1. Device Users (3 tests) - Critical for mobile app testing
33+
2. Password Settings (1 test) - Security feature
34+
3. User Administration (1 test) - User management
35+
36+
### Medium Priority - User Interface (10 tests)
37+
4. Navigation Menu (4 tests) - UI customization
38+
5. Application Settings (2 tests) - App configuration
39+
6. Profile Settings (1 test) - User preferences
40+
7. eForm Visual Editor - Create (1 test) - Form creation
41+
8. Folders - Tree & Child (6 tests) - Could be split into 2 issues
42+
43+
### Medium Priority - Data Management (11 tests)
44+
9. Searchable Lists (3 tests) - Data entry
45+
10. Selectable Lists (4 tests) - Data entry
46+
11. Workers (2 tests) - Staff management
47+
48+
## Next Steps
49+
50+
1. Create GitHub issues for each category using the template in `WDIO_TO_CYPRESS_MIGRATION.md`
51+
2. Assign priorities based on business impact
52+
3. Begin with High Priority tests
53+
4. Update progress in `WDIO_TO_CYPRESS_MIGRATION.md` as tests are completed
54+
55+
## Quick Commands
56+
57+
```bash
58+
# View all wdio tests
59+
find eform-client/e2e/Tests -name "*.spec.ts"
60+
61+
# View all Cypress tests
62+
find eform-client/cypress/e2e -name "*.cy.ts"
63+
64+
# Run wdio tests
65+
yarn testheadless2a # (through testheadless2j)
66+
67+
# Run Cypress tests
68+
yarn cypress:run
69+
```
70+
71+
## Documentation
72+
73+
- Full details: [WDIO_TO_CYPRESS_MIGRATION.md](./WDIO_TO_CYPRESS_MIGRATION.md)
74+
- Testing guide: [eform-client/TESTING.md](./eform-client/TESTING.md)

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ You need to create an account for Microting API and get your access credentials.
4444

4545
* Call Microting at +45 66 11 10 66 to get started.
4646

47+
## Testing
48+
49+
### E2E Test Migration
50+
We are actively migrating our end-to-end tests from WebDriverIO to Cypress for improved reliability and developer experience.
51+
52+
**📋 Migration Documentation:**
53+
- [WDIO to Cypress Migration Plan](WDIO_TO_CYPRESS_MIGRATION.md) - Complete migration guide with all test details
54+
- [Migration Summary](MIGRATION_SUMMARY.md) - Quick overview and status
55+
- [Sub-Issue Templates](migration-issues/README.md) - Detailed specifications for each migration task
56+
57+
**Status:** 28 tests remaining to migrate (0% complete)
58+
59+
For more information on testing, see [Testing Documentation](eform-client/TESTING.md).
60+
4761
## Contributing
4862

4963
1. Do a fork

0 commit comments

Comments
 (0)