This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Not detecting diff #3
Comments
Daaam. I think I got it. On laravel-visual-diff/src/VisualDiff.php Lines 134 to 140 in fbf586f
I added else {
abort(500, 'process of comparison not successful');
} and so it's from here, i guess. but weird because it shoul throw some exception here, right? |
Sorry for the spam.
dis the trick, it's working as supposed!! @mpociot would you like a PR to abort when that process does not go well?? And now I can continue with what we talked about :) |
So all this was because a missing dependency Even so I think is very handy to know when the external node process doesn't go well. Submitted #4 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello @mpociot
So I go to try it out, even with first example Dusk test.
run it once, makes screenshot in VisualRegression/screenshots
Change welcome view, to LaravelX, run test again
screenshot changes, and test keeps green
I went further and...
Changed
Laravel
toLaravel {{ str_random(10) }}
and now test case
2 assertions green
screenshot
I was running the package from the fork, and on same commit as tagged 1.0.0
I had to lower version of laravel/dusk to install dev-dependencies, like the orchestra/test-dusk-workbench was in conflict and dusk test came red
Let me know if I missed from saying something, and if I can be of any help!
The text was updated successfully, but these errors were encountered: