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

Add a --skip mode for visual diff tests and make them PR blocking #10498

Merged
merged 3 commits into from Jul 18, 2017
Merged

Add a --skip mode for visual diff tests and make them PR blocking #10498

merged 3 commits into from Jul 18, 2017

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Jul 18, 2017

Fixes #10164

@rsimha rsimha requested a review from cramforce July 18, 2017 17:51
@rsimha rsimha self-assigned this Jul 18, 2017
@rsimha rsimha requested a review from dreamofabear July 18, 2017 19:04
@rsimha
Copy link
Contributor Author

rsimha commented Jul 18, 2017

/to @cramforce or @choumx for review, after which percy can be made a required check on Github.

@@ -396,6 +400,9 @@ function main(argv) {
if (buildTargets.has('RUNTIME')) {
command.runUnitTests();
}
} else {
// Generates a blank Percy build to satisfy the required Github check.
command.runVisualDiffTests(true /*pass*/);

Choose a reason for hiding this comment

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

command.runVisualDiffTests(/* opt_pass */ true);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -280,9 +280,13 @@ const command = {
timedExecOrDie(
`${gulp} test --nobuild --saucelabs --integration --compiled`);
},
runVisualDiffTests: function() {
runVisualDiffTests: function(opt_pass) {

Choose a reason for hiding this comment

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

opt_skip?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@rsimha rsimha changed the title Add a --pass mode for visual diff tests and make them PR blocking Add a --skip mode for visual diff tests and make them PR blocking Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants