2 Commits
Author SHA1 Message Date
hy b0217b2723 feat: enhance e2e tests for workbench result and WPS Office integration
- Added functionality to append unchanged context to the preview file in `text-file-apply-preview-and-revert.e2e.test.ts`.
- Updated diff viewer selectors to improve line removal and addition detection.
- Implemented review edit and undo functionality with assertions in `text-file-apply-preview-and-revert.e2e.test.ts`.
- Enhanced the handling of omitted lines in the diff viewer.
- Modified the application of default settings in `file-preview-actions.e2e.test.ts`.
- Improved WPS Office reload and navigation tests in `wps-office-reload-on-write-and-revert.e2e.test.ts` and added a new test for WPS audit navigation.
- Refactored Excel cell interaction methods in `excel.ts` to support dynamic layout handling.
- Updated WPS Office coverage targets to include file name in prompts and added fixture preparation logic.
- Cleaned up WPS environment handling to ensure proper resource management during tests.
2026-10-16 12:24:44 +08:00
hy bd142b45d7 feat(tests): enhance DOCX overview assertions and add visual host for DOCX processing
- Introduced `assertEmptyDocxOverview` and `assertDocxReviewOverview` functions to validate the state of DOCX overviews in end-to-end tests.
- Updated existing tests to include assertions for empty and reviewed DOCX overviews.
- Added `docxVisualHost.ts` and `docxVisualRunner.ts` to facilitate the processing and analysis of DOCX files, capturing visual elements and their properties.
- Enhanced the workspace file explorer tests to include new file creation and deletion scenarios, ensuring proper handling of various file types.
- Improved browser lifecycle tests to manage background responses and ensure proper cleanup.
- Refactored scheduled task tests to streamline partner deletion and task management workflows.
2026-10-12 12:11:41 +08:00