| refactor(e2e): rename e2etest package to webagent across modules
- Update all cc.unitmesh.agent.e2etest.* package references to cc.unitmesh.agent.webagent.*.
- Adjust imports and package declarations in affected files for consistency.
This aligns package naming convention to improve clarity and consistency.
| 4 个月前 |
| feat(xiuper-e2e): add E2E Test DSL module with parser, generator and LLM integration
- Create xiuper-e2e module for human-readable E2E test DSL
- Implement E2EDsl with keywords and syntax definitions
- Implement E2EDslParser with tokenizer and syntax analyzer
- Implement E2EDslGenerator for TestScenario to DSL conversion
- Add E2EDslLLMGenerator for LLM prompt templates
- Add 10 example test cases demonstrating DSL syntax
- Add comprehensive unit tests for parser and generator
The DSL supports:
- Scenario definition with metadata (description, url, tags, priority)
- Step definitions with actions and expectations
- Actions: click, type, hover, scroll, wait, assert, navigate, pressKey, select, uploadFile, screenshot
- Wait conditions: duration, visible, hidden, enabled, textPresent, urlContains, pageLoaded, networkIdle
- Assertions: visible, hidden, enabled, disabled, checked, unchecked, textEquals, textContains, hasClass
Related to #532
| 4 个月前 |