Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Sep 3, 2025

Summary

  • Fixes 3 failing snapshot tests that were broken after the Litegraph test configuration was added in PR add litegraph test config #5310
  • Updates outdated snapshots to match current LiteGraph behavior
  • 608 out of 615 tests now pass (remaining 5 failures are unrelated existing issues)

Context

After PR #5310 added the Litegraph test configuration, the test suite revealed that 3 snapshot tests had outdated expectations. This PR updates those snapshots to match the current behavior.

Test Results

  • ✅ 3 snapshot tests now pass
  • ✅ Total passing tests: 608/615
  • ⚠️ 5 remaining failures are pre-existing code issues unrelated to test configuration

🤖 Generated with Claude Code

┆Issue is synchronized with this Notion page by Unito

@christian-byrne christian-byrne requested a review from a team as a code owner September 3, 2025 04:48
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 3, 2025
@github-actions
Copy link

github-actions bot commented Sep 3, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 09/03/2025, 06:31:02 AM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

DrJKL
DrJKL previously approved these changes Sep 3, 2025
})

input.widget = { name: subgraphInput.name }
const hasNode = (w: any): w is { node: LGraphNode } =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Might have to add an additional shape check, but I think we can avoid an explicit any here.

Suggested change
const hasNode = (w: any): w is { node: LGraphNode } =>
const hasNode = (w: unknown): w is { node: LGraphNode } =>

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is likely a missed checkout after reviewing #5024. Here, unknown is insufficient because an unknown w doesn't have a .node attribute.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, was testing Austin's PR forgot to checkout back to main before making this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Updates outdated snapshots to match current LiteGraph behavior.
@christian-byrne christian-byrne force-pushed the fix/litegraph-test-snapshots branch from 6c7a884 to 95cac2e Compare September 3, 2025 06:06
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Sep 3, 2025
@christian-byrne christian-byrne merged commit a704d6e into main Sep 3, 2025
14 checks passed
@christian-byrne christian-byrne deleted the fix/litegraph-test-snapshots branch September 3, 2025 17:13
snomiao pushed a commit that referenced this pull request Sep 12, 2025
Updates outdated snapshots to match current LiteGraph behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:testing size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants