Skip to content

Conversation

@todti
Copy link
Collaborator

@todti todti commented Apr 8, 2025

image

What if we show test errors directly in the test result tree?

@todti todti added the type:improvement New feature or request label Apr 8, 2025
@todti todti requested a review from epszaw April 8, 2025 09:26
Copy link
Member

@epszaw epszaw left a comment

Choose a reason for hiding this comment

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

Solve conflicts in the branch

marked?: boolean;
navigateTo: (id: string) => void;
error?: TestError;
ErrorComponent: FunctionComponent<TestError & { status?: TestStatus }>;
Copy link
Member

Choose a reason for hiding this comment

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

Let's use render props function (like renderError) instead of component itself

visibleTests,
labels,
({ id, name, status, duration, flaky, start, retries }) => {
({ id, name, status, duration, flaky, start, retries ,error}) => {
Copy link
Member

Choose a reason for hiding this comment

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

Run prettier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants