feat(e2e): migrate to CrabNebula tauri-e2e-tests for macOS support #2437
+320
−324
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.
feat(e2e): migrate to CrabNebula tauri-e2e-tests for macOS support
Summary
This PR migrates the e2e testing infrastructure to use CrabNebula's
@crabnebula/tauri-driverpackage, which provides macOS support for Tauri e2e tests via their webdriver implementation.Key changes:
@crabnebula/tauri-driver,@crabnebula/test-runner-backend,@crabnebula/webdriverio-cloud-reporter) to e2e/blackboxwaitTauriDriverReady()for proper driver initialization and added macOS-specificonPreparehook that startstest-runner-backendwhenCN_API_KEYis settauri-plugin-automationas an optional dependency withautomationfeature flag for macOS e2e testing supportpnpm tauri-driverUpdates since last revision
connectionRetryCountfrom 0 to 3Review & Testing Checklist for Human
CN_API_KEYset to verify the CrabNebula integration works--features automationand verify the plugin is registered correctly on macOSRecommended test plan for macOS:
Notes
automationfeature flag approach was chosen per user request for better control in the build pipeline (similar to howdevtoolsfeature is used)Link to Devin run: https://app.devin.ai/sessions/865b1b66e8684f248af03374dca5314f
Requested by: yujonglee (@yujonglee)