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

Move visual-diff-plugin to testing repo #16

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Conversation

bearfriend
Copy link
Contributor

@bearfriend bearfriend requested a review from a team as a code owner June 12, 2023 14:07
Copy link
Member

@dlockhart dlockhart left a comment

Choose a reason for hiding this comment

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

This is probably sufficient for now and we can add tests once this is actually doing something useful.

Comment on lines +51 to +52
const goldenFileName = `${join(dirname(session.testFile), 'screenshots', ciDir, 'golden', browser, dir, newName)}.png`;
const currentFileName = `${join(dirname(session.testFile), 'screenshots', ciDir, 'current', browser, dir, newName)}.png`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't need to be figured out now, but based on the crazy names we've seen in the past hitting Windows limits, wondering if we want to make this shorter. I'm not particularly attached to screenshots

Copy link
Member

Choose a reason for hiding this comment

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

That's a good point -- could be vdiff?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah that's what I was thinking, although we're already being a bit inconsistent with when we use vdiff and when we use visual-diff. Maybe we try to keep all consumer facing pieces vdiff, like the group name, this folder, etc? Or do we just change everything to vdiff (like this plugin name)?

Copy link
Member

Choose a reason for hiding this comment

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

I'm good with being consistent everywhere with vdiff.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Merging as-is for now, and will address this probably in the golden migration PR.

@bearfriend bearfriend merged commit dae9384 into main Jun 13, 2023
@bearfriend bearfriend deleted the dgleckler/vdiff-plugin branch June 13, 2023 21:18
@ghost
Copy link

ghost commented Jun 13, 2023

🎉 This PR is included in version 0.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Jun 13, 2023
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