assertSee failed due to whitespaces in html code – Laravel
In my blade, I have a button: <a href="/customer/member/delete/{{ $member->id }}" class="btn btn-secondary delete-button" > Delete </a> And I want to test it: $this->view->assertSee('<a href="/customer/member/delete/1" class="btn btn-secondary delete-button">Delete</a>'); How can I ignore whitespaces in the test? A tried: trim and…