Repository navigation
v1.0.3
Release Notes - v1.0.3
🎉 New Features
AI-Assisted Test Generation
- Introduced comprehensive AI prompt template (1.0.3.md) for automating test cases using manual test cases and Playwright codegen
- Added support for generating tests from manual test case Excel files and codegen recorded steps
- Created
test-cases/folder structure for organizing manual test cases and codegen files - Implemented automated test generation workflow with intelligent page object management
- Added CSV-based test data management for AI-generated tests
New Test Suite
- Added
katalon-cms-login-incorrect-password.spec.ts- Tests for error message display with incorrect password - Enhanced test data management with support for multiple test scenarios
✨ Improvements
Locator Strategy Standardization
- Migrated framework to use role-based locators (
getByRole) instead of XPath/CSS selectors - Removed duplicate locators from
KatalonCmsPage.tsfor cleaner code - Updated all test files to use consistent role-based locators:
myAccountLinkRolefor My Account linkusernameInputRolefor username inputpasswordInputRolefor password inputloginButtonRolefor login button
- Enhanced page object creation guidelines to recommend role-based locators
Configuration Enhancements
- Updated
config/qa.env.ts:- Set baseUrl to
https://cms.demo.katalon.com - Increased defaultTimeout to 30000ms for improved reliability
- Set baseUrl to
- Updated
config/ci.env.ts:- Set baseUrl to
https://cms.demo.katalon.com
- Set baseUrl to
- All environments now properly configured for Katalon CMS testing
Documentation Overhaul
- Added comprehensive documentation for 1.0.3.md AI prompt usage including:
- Preparation steps and requirements
- Step-by-step usage instructions
- Example workflow with commands
- Key features and benefits
- Added
test-cases/folder to architecture documentation - Added "Current Test Suite" section documenting existing tests
- Updated all code examples to use role-based locators
- Added framework principle about preferring role-based locators
- Enhanced CSV reader helper documentation with actual examples
- Updated test execution examples
🗑️ Removed
Deprecated Components
- Removed
tests/playwright-dev.spec.ts- Playwright.dev test suite - Removed
pages/PlaywrightDevPage.ts- Playwright.dev page object - Removed reference to deprecated 1.0.2.md AI prompt
- Framework now focuses exclusively on Katalon CMS test suite
📝 Breaking Changes
Locator Naming Convention
- Changed locator names in
KatalonCmsPage.ts:myAccountLink→myAccountLinkRoleusernameInput→usernameInputRolepasswordInput→passwordInputRoleloginButton→loginButtonRole
- All test files updated to use new locator names
- XPath-based duplicate locators removed
Migration Required
- If you have custom tests using the old locator names, update them to use the new role-based locator names
- Tests using XPath/CSS selectors should be migrated to role-based locators for consistency
🧪 Testing
All tests pass successfully:
npx playwright test --project=chromium
# 2 passed (14.2s)
npx playwright test
# 6 passed (chromium, firefox, webkit)