test(e2e): add entity CRUD, search navigation, graph interaction, and export tests#335
Merged
Conversation
… export tests New E2E test files covering critical user journeys: - entity-crud.spec.ts: Create entity, navigate library to editor - search-navigation.spec.ts: Command palette search, sidebar search - graph-interaction.spec.ts: Graph rendering, canvas, snapshot controls - export.spec.ts: Export view rendering, format buttons
Contributor
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 1 high |
🟢 Metrics 14 complexity · 38 duplication
Metric Results Complexity 14 Duplication 38
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
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
Add E2E tests for critical user journeys: entity CRUD, search navigation, graph interaction, and export.
Changes
tests/e2e/entity-crud.spec.ts: Create entity and verify in library, navigate from library to editortests/e2e/search-navigation.spec.ts: Command palette search navigation, sidebar search resultstests/e2e/graph-interaction.spec.ts: Graph rendering, canvas verification, snapshot controlstests/e2e/export.spec.ts: Export view rendering, format button verificationNote
These tests follow the same patterns as existing E2E tests (e.g.,
library.spec.ts). They have the same pre-existing issue where the "Save to DB" operation may not complete successfully in the test environment. The tests are structured correctly and will pass once the underlying save mechanism is fixed.