Design and implement E2E test suite and reorganize e2e directory#812
Design and implement E2E test suite and reorganize e2e directory#812azayrahmad wants to merge 4 commits into
Conversation
- Reorganized e2e/ directory into system/, apps/, and explorer/ - Added e2e/system/smoke.spec.js for system boot verification - Added e2e/apps/notepad.spec.js for full lifecycle testing - Added e2e/apps/solitaire.spec.js for basic game interaction - Added e2e/explorer/basic_ops.spec.js for file system operations - Fixed existing tests broken by application ID and label changes - Fixed a bug in Explorer where virtual items didn't open on double-click - Verified all tests pass and frontend renders correctly Co-authored-by: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Fixed double initialization of azOS in src/system/os-init.js - Updated all E2E tests to handle the "Press any key to continue" boot prompt - Added explicit waits for window.System.launchApp to avoid race conditions - Switched to context menu for file deletion in basic_ops.spec.js for reliability - Verified all 26 tests pass successfully Co-authored-by: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
This PR introduces a comprehensive E2E test suite and reorganizes the existing test structure for better maintainability. It also includes a fix for a bug discovered in the Explorer application during test development.
Key changes:
e2e/system,e2e/apps,e2e/explorer).smoke.spec.js: Verifies the system boots correctly and monitors for console errors.notepad.spec.js: Tests opening Notepad, typing, saving to ZenFS, and reopening the file.solitaire.spec.js: Verifies basic interaction with the Solitaire game.basic_ops.spec.js: Tests core Explorer operations like creating files/folders, view modes, and deletion.src/shell/explorer/explorer-app.js, fixed an issue where double-clicking virtual items like "My Computer" didn't trigger navigation.zenexplorertoexplorerand the updated UI labels for "Windows Explorer".PR created automatically by Jules for task 3828893124759560142 started by @azayrahmad