Skip to content

Conversation

shadowusr
Copy link
Member

No description provided.

Copy link

pkg-pr-new bot commented Sep 9, 2025

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/html-reporter@707

commit: a06148a

@shadowusr
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

@shadowusr shadowusr force-pushed the users/shadowusr/TESTPLANE-419.v2 branch from 16fbe16 to 7380b20 Compare October 14, 2025 21:45
Copy link

github-actions bot commented Oct 14, 2025

✅ Component tests succeed

Report

Copy link

github-actions bot commented Oct 14, 2025

✅ E2E tests succeed

Report

@gemini-testing gemini-testing deleted a comment from github-actions bot Oct 15, 2025
interface TwoUpInteractiveModeProps {
expected: ImageFile;
actual: ImageFile;
diff?: ImageFile;
Copy link
Member

Choose a reason for hiding this comment

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

In which cases it can be undefined, if there are both "actual" and "expected"?

</div>
<div className={styles.divider} />
<div className={styles.sideContainer}>
<ImageLabel title={'Actual'} subtitle={getImageDisplayedSize(props.actual) + (props.differentPixels && props.diffRatio ? ` ⋅ ${getDisplayedDiffPixelsCountValue(props.differentPixels)} ${props.differentPixels > 1 ? 'are' : 'is'} different (${getDisplayedDiffPercentValue(props.diffRatio)}%)` : '')} />
Copy link
Member

Choose a reason for hiding this comment

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

nit: This subtitle would be easier to read+understand, it it was separate multi-line function, as there would be less brackets:

getImageDisplayedSize(props.actual) + (props.differentPixels && props.diffRatio ? ` ⋅ ${getDisplayedDiffPixelsCountValue(props.differentPixels)} ${props.differentPixels > 1 ? 'are' : 'is'} different (${getDisplayedDiffPercentValue(props.diffRatio)}%)` : '')
if (!props.differentPixels || !props.diffRatio) {
    return ...
}
const displayedDiffPixelsCountValue = ...
const getDisplayedDiffPercentValue = ...
return ...

setFitMode(InteractiveFitMode.FitWidth);
}, [updateViewport, setFitMode]);

const handleDownload = useCallback(() => {
Copy link
Member

Choose a reason for hiding this comment

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

lol, curious solution

Copy link
Member

Choose a reason for hiding this comment

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

why python 😢
Can it be js, so we dont have to worry about "pip", "pillow" and such?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants