Fix plugin test failures: API mismatches and registration timeouts#385
Merged
hotlong merged 3 commits intocopilot/update-action-run-referencesfrom Feb 5, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix errors and run all tests
Fix plugin test failures: API mismatches and registration timeouts
Feb 5, 2026
34ada07
into
copilot/update-action-run-references
8 of 9 checks passed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes CI test failures in multiple plugin packages by updating test assertions to match the current API implementation and adding timeout configurations for async imports.
Changes:
- Updated test assertions in plugin-list to match current implementation (search placeholder, ViewSwitcher API, and view types)
- Added 15-second timeouts to
beforeAllhooks in plugin-markdown, plugin-kanban, and plugin-aggrid tests for async imports - Added
chartComponentsexport to plugin-charts following the Standard Export Protocol pattern
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/plugin-list/src/tests/ListView.test.tsx | Fixed search placeholder regex from /search/i to /find/i to match actual "Find..." placeholder; updated ViewSwitcher assertions to use getByLabelText instead of getByRole('radio'); changed test view type from 'list' to 'kanban' (valid type); added required kanban options |
| packages/plugin-list/src/tests/ListViewPersistence.test.tsx | Updated persistence tests to use 'kanban' instead of invalid 'list' view type; added required options.kanban.groupField configuration for kanban view availability |
| packages/plugin-markdown/src/index.test.ts | Added 15-second timeout to beforeAll hook for async import, consistent with plugin-detail |
| packages/plugin-kanban/src/index.test.ts | Added 15-second timeout to beforeAll hook for async import, consistent with plugin-detail |
| packages/plugin-aggrid/src/index.test.ts | Added 15-second timeout to beforeAll hook for async import, consistent with plugin-detail |
| packages/plugin-charts/src/index.tsx | Added chartComponents export following the Standard Export Protocol pattern established in other plugins (aggrid, editor, kanban, markdown, dashboard) |
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.
CI failing on plugin-list tests due to component API drift and async import timeouts across multiple plugin packages.
Changes
Test Assertions Updated
/search/i→/find/i(matches current placeholder)getByRole('radio')→getByLabelText()witharia-pressed(no longer uses radio role)'list'→'kanban'(list view doesn't exist; valid types: grid, kanban, gallery, calendar, timeline, gantt, map)Registration Test Timeouts
beforeAllhooks in plugin-kanban, plugin-aggrid, plugin-markdownExport Consistency
chartComponentsexport to plugin-charts for manual integration patternTest Results
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.