This repository was archived by the owner on Apr 13, 2021. It is now read-only.
This repository was archived by the owner on Apr 13, 2021. It is now read-only.
Not detecting diff #3
Open
Description
Hello @mpociot
So I go to try it out, even with first example Dusk test.
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel')
->visualDiff('homepage');
});
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
to Laravel {{ str_random(10) }}
and now test case
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel')
->visualDiff('homepage');
$browser->visit('/')
->assertSee('Laravel')
->visualDiff('homepage');
});
2 assertions green
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!
Metadata
Metadata
Assignees
Labels
No labels