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

Replace previous testId suffix #91

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cmcculloh-kr
Copy link
Contributor

Instead of continually appending new suffixes, replace the previous testId suffix with a new one.

Uses a . instead of a space so that we aren't introducing spaces into filenames where the user may not want them.

Instead of continually appending new suffixes, replace the previous testId suffix with a new one.

Uses a `.` instead of a space so that we aren't introducing spaces into filenames where the user may not want them.
@NimaSoroush
Copy link
Owner

Hi @CormacMcCarthy,
Thanks for putting this PR. I believe this will break some unit-tests and some integration-tests. Did you run them locally?

@@ -204,14 +204,52 @@ describe('Differencify', () => {
.goto('http://example.com/')
.waitFor(1000)
.screenshot()
.toMatchSnapshot()
.toMatchSnapshot((resultDetail) => {
Copy link
Owner

Choose a reason for hiding this comment

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

Probably better to write a new test instead of updating the existing one. These tests are good examples for differencify usage

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