Skip to content

[Tests] Remove passing render-comparison diffs - #685

Merged
Anna Malchow-Perryman (apman) merged 1 commit into
masterfrom
agents/render-equality-check-directory-query
Oct 7, 2026
Merged

Anna Malchow-Perryman (apman) merged 1 commit into
masterfrom
agents/render-equality-check-directory-query

Conversation

@apman

@apman Anna Malchow-Perryman (apman) commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

This does not yet fix the current test failure issues, but prevents date/time folders to appear in Test-Diffs for test runs where nothing failed, removing a source of additional confusion when trouble-shooting. (AMP)


Summary

  • Remove the expected MacClassic-vs-DevExpress diff folder after render-equality assertions pass.
    (this check between deliberately different pages is done to confirm that diff detection is working)
  • Preserve comparison artifacts when assertions fail, so unexpected failures remain diagnosable.

Validation

  • dotnet test tests/Devolutions.AvaloniaControls.VisualTests/Devolutions.AvaloniaControls.VisualTests.csproj --filter FullyQualifiedName~RenderEqualityCheck (2 passed)
  • dotnet build avalonia-extensions.sln (succeeded; existing warnings remain)

Posted by Copilot CLI (agent), on behalf of Anna Malchow-Perryman (@apman).

Delete the render-equality test's expected diff output after its assertions pass, so Test-Diffs remains focused on failures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 7, 2026 17:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Cleanup occurs only after all assertions pass, preserving diagnostic artifacts for failures.

0 open findings

What changed in this PR

Cleans up expected render-comparison diff artifacts after successful assertions while retaining them on failure.

Changes:

  • Reuses a named comparison output folder.
  • Deletes successful comparison diffs and empty parent directories.
File Description
tests/​Devolutions.AvaloniaControls.VisualTests/​VisualRegressionTests.cs Adds post-assertion artifact cleanup.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@randy-but-a-ro randy-but-a-ro Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Pull request was approved automatically: the AI review is complete and all its review threads are resolved. 🎉

Integration Details
{
	"deliveryId": "c050c630-c274-11f1-99c5-28a1cfd771b8",
	"headSha": "bec619fc17ec136bd94e7a2d22efaf4e8cfad3e0",
	"reviewer": "copilot-pull-request-reviewer[bot]"
}

@apman
Anna Malchow-Perryman (apman) merged commit c8ea3c1 into master Oct 7, 2026
1 check passed
@apman
Anna Malchow-Perryman (apman) deleted the agents/render-equality-check-directory-query branch October 7, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants