Something like this should work when creating.
/**
* @test
*/
public function when_validation_fails_old_values_are_show,()
{
$this->signIn();
$artist = Artist::factory()->make(['name' => '']);
$response = $this->post('/artists', $artist->toArray());
$response->assertSee($artist->dob);
}
And something like this in updating
/**
* @test
*/
public function old_value_is_shown_when_validation_fails()
{
$this->signIn();
$artist = Artist::factory()->create();
$artist->name = '';
$this->patch('/artists/' . $artist->id, $artist->toArray());
$this->assertSee($artist->dob);
}
This above will not work. You need to check the session.
The old values are passed back by default by Laravel on validation errors so there's really no need to test it.
To test if the blade view contains the old value you need to use Cypress or similar front end testing tool.