Fix E2E tests, Tauri build, and add run-app command#86
Open
RichardHightower wants to merge 5 commits intomainfrom
Open
Fix E2E tests, Tauri build, and add run-app command#86RichardHightower wants to merge 5 commits intomainfrom
RichardHightower wants to merge 5 commits intomainfrom
Conversation
…electors
Add data-testid attributes to React components for reliable test selectors:
- EventForm: event-type-select, tool-input, command-input, path-input, simulate-button
- FileTabBar: file-tab-bar, file-tab-{filename}, close-tab-{filename}
- EditorToolbar: editor-toolbar
- Sidebar: sidebar, sidebar-{section}-file-{filename}
Update test files to use data-testid selectors instead of fragile CSS class
and text matching that caused strict mode violations.
Update page objects with new selector patterns for better test maintainability.
All 56 E2E tests now pass on both Chromium and WebKit.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The Tauri project was incorrectly detected as part of the CCH workspace, causing cargo metadata errors when running tauri build/dev commands. Adding rulez_ui/src-tauri to workspace.exclude allows the Tauri app to build independently while keeping the CCH CLI in the main workspace. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ignore Tauri-generated files that are created during builds. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds a convenient `task run-app` command at the project root to start the RuleZ UI Tauri desktop application with a single command. Usage: task run-app Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Prevents "Port 1420 is already in use" errors when restarting the app. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
task run-appcommand to launch the RuleZ UI desktop appChanges
E2E Test Fixes
data-testidattributes to EventForm, FileTabBar, EditorToolbar, and Sidebar componentsTauri Build Fix
rulez_ui/src-taurito workspace.exclude in root Cargo.tomlsrc-tauri/gento .gitignore for generated Tauri filesNew Command
task run-appat project root to launch RuleZ UI desktop appTest plan
task ui:e2e)task run-app)🤖 Generated with Claude Code