Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run copy results after tests failures #23964

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

dannimad
Copy link
Contributor

@dannimad dannimad commented Mar 3, 2025

Updating pipeline conditions to run copy results even after tests failures.

  • Condition was missing from non coverage tests
  • Reinforcing usage of variables created before running tests by referencing them in the condition.

@Copilot Copilot bot review requested due to automatic review settings March 3, 2025 20:47
@dannimad dannimad requested a review from a team as a code owner March 3, 2025 20:47
@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Mar 3, 2025

Choose a reason for hiding this comment

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

PR Overview

This PR is focused on debugging why copy results are not running after test failures. Key changes include:

  • Modifying a test assertion in DynamicComposedChart.test.tsx.
  • Updating the pipeline condition in build-npm-client-package.yml to only check if startTest is true.

Reviewed Changes

File Description
packages/tools/devtools/devtools-view/src/test/DynamicComposedChart.test.tsx Changes the test assertion which now contradicts itself by expecting the element to be both null and defined.
tools/pipelines/templates/build-npm-client-package.yml Removes the succeededOrFailed() condition, which may prevent copying results when tests fail.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@dannimad dannimad changed the title Debug copy results not running after tests failures Run copy results after tests failures Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant