Skip to content

test(e2e): verify imported metadata#1031

Merged
perber merged 2 commits into
mainfrom
test/imported-metadata-ui
May 24, 2026
Merged

test(e2e): verify imported metadata#1031
perber merged 2 commits into
mainfrom
test/imported-metadata-ui

Conversation

@perber
Copy link
Copy Markdown
Owner

@perber perber commented May 24, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 24, 2026 14:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an E2E regression test to ensure the ZIP importer correctly brings in page frontmatter metadata (tags + custom properties) and that it’s visible in both the viewer metadata widget and the editor’s frontmatter panel.

Changes:

  • Add a new importer fixture page containing tags and custom properties for verification.
  • Extend importer Playwright E2E coverage to assert imported tags/properties in viewer and editor.
  • Make the importer “plan created” toast assertion resilient to multiple matching toasts.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
internal/importer/fixtures/import-metadata-package/home.md Adds a metadata-bearing fixture page used for E2E verification.
e2e/tests/importer.spec.ts Adds an E2E test that imports a metadata ZIP and checks tags/properties in viewer + editor.
e2e/pages/ImporterPage.ts Adjusts toast locator to target the latest matching “plan created” message.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread e2e/tests/importer.spec.ts Outdated
Comment thread e2e/tests/importer.spec.ts Outdated
Comment thread e2e/tests/importer.spec.ts Outdated
@perber perber merged commit 91fe479 into main May 24, 2026
6 checks passed
@perber perber deleted the test/imported-metadata-ui branch May 24, 2026 14:36
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