Skip to content

PR 134 contest (on repo, rather than fork)#135

Draft
pfeerick wants to merge 22 commits intomainfrom
pr-134-contest
Draft

PR 134 contest (on repo, rather than fork)#135
pfeerick wants to merge 22 commits intomainfrom
pr-134-contest

Conversation

@pfeerick
Copy link
Member

@pfeerick pfeerick commented Feb 7, 2026

Copy of #134 on repo... probably need to redo a714a91 on my linux desktop rather than mac mini 😆

Could pin @electron/rebuild@npm:3.6.0 instead also (i.e. current main, since that clearly works).

@pfeerick pfeerick marked this pull request as draft February 7, 2026 05:04
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

❌ Patch coverage is 6.01704% with 3530 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.70%. Comparing base (6f8bbab) to head (6d51d07).

Files with missing lines Patch % Lines
...rc/renderer/pages/backup/file/BackupUploadArea.tsx 0.00% 755 Missing ⚠️
src/renderer/pages/backup/BackupRestoreFlow.tsx 0.00% 675 Missing ⚠️
src/shared/backend/services/backupStore.ts 9.37% 628 Missing ⚠️
src/renderer/pages/backup/BackupCreateFlow.tsx 0.00% 467 Missing ⚠️
src/shared/backend/graph/backup/local.ts 27.98% 265 Missing ⚠️
src/renderer/pages/backup/CollisionModal.tsx 0.00% 226 Missing ⚠️
src/renderer/pages/backup/DiffViewerModal.tsx 0.00% 142 Missing ⚠️
src/renderer/pages/backup/file/BackupUploader.tsx 0.00% 115 Missing ⚠️
src/renderer/pages/backup/BackupScreen.tsx 0.00% 95 Missing ⚠️
src/shared/backend/graph/sdcard/index.ts 15.47% 71 Missing ⚠️
... and 11 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
- Coverage   44.43%   35.70%   -8.73%     
==========================================
  Files         108      121      +13     
  Lines       12690    16419    +3729     
  Branches      597      601       +4     
==========================================
+ Hits         5639     5863     +224     
- Misses       7043    10543    +3500     
- Partials        8       13       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pfeerick pfeerick mentioned this pull request Feb 8, 2026
Pin @electron/node-gyp to npm version 10.2.0-electron.2 to avoid CI failures caused by pulling from GitHub directly. This resolves dependency installation issues in CI environments.
- Define DownloadProgress type locally instead of importing from ky
- Add type resolution for @types/react and @types/react-dom to avoid conflicts
- Fix WebDFUSettings interface with proper null handling for interfaceName
- Wrap children in Fragment in ExecuationOverlay to fix children prop error
- Add explicit ReactNode casts in Layout and FlashExecution components
- Fix code formatting with prettier in Layout.tsx and FlashExecution.tsx
- Wrap Playwright test hooks in test.describe() blocks
- Move beforeEach/afterEach inside proper test suite contexts
- Fixes compatibility-notice, firmware-selection, and flash-firmware e2e tests
- Remove usage of private ._extendTest() API which causes Playwright test failures
- Inline platform fixtures directly into baseTest using public .extend()
- Fixes 'Playwright Test did not expect test.describe() to be called here' error
- Resolves compatibility with current Playwright version
…Test export chain

- Export 'test' from browserTest.ts and electronTest.ts
- Import both as aliases in pageTest.ts and conditionally export
- Simplify baseTest to extend platformTest directly
- This preserves the Playwright test type and resolves 'did not expect test.describe()' errors
Restores the original test fixture chain using ._extendTest() API and
proper TestType typing in pageTest.ts. This matches the working
configuration from main branch.
Resolves version mismatch between playwright@1.58.0 and @playwright/test@1.29.1
that caused 'test.describe() called in unexpected context' errors when running
yarn e2e:web.
- Add backup.spec.ts with 17 tests covering:
  - Query: localBackup, sdcardModelsWithNames, checkModelCollisions, availableModelSlots
  - Mutation: registerLocalBackup, restoreBackupToSdcard, createBackupFromSdcard, downloadIndividualModels
- Fix Uint8Array conversion for Blob in jsdom environment
- Revert e2e spec files to main branch version
- Add BackupScreen.spec.tsx with 4 tests for tab navigation
- Add DiffViewerModal.spec.tsx with 12 tests for diff viewer functionality
- Add CollisionModal.spec.tsx with 15 tests for collision handling
- Add BackupFileSummary.spec.tsx with 8 tests for file summary display
- Add 4 error handling tests to backup.spec.ts for GraphQL resolvers

Total: 43 new tests, bringing total test count to 212.
All tests passing with no lint errors.
- Add BackupCreateFlow.spec.tsx with 13 tests covering rendering, UI elements, layout, and interactions
- Add BackupRestoreFlow.spec.tsx with 19 tests covering upload area, collision detection, modals, and props
- Add BackupUploader.spec.tsx with 18 tests covering GraphQL queries/mutations, callbacks, and state management

Total: 50 new tests added (262 tests passing overall)
Increases test coverage for radio-backup feature
…ility

- Cast createElement mock implementation as 'typeof document.createElement'
- Fixes TypeScript errors with overloaded createElement signatures
- Resolves build failures in BackupCreateFlow and BackupRestoreFlow tests
@cloudflare-workers-and-pages
Copy link

Deploying buddy with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffe7b94
Status: ✅  Deploy successful!
Preview URL: https://b01e7433.buddy-7a6.pages.dev
Branch Preview URL: https://head.buddy-7a6.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

EdgeTX Buddy has been automatically deployed to Cloudflare.
✅ Preview: https://b01e7433.buddy-7a6.pages.dev
✅ Storybook: https://b01e7433.buddy-7a6.pages.dev/storybook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants