Oct 10, 2022
0
Level 1
Testing Jetstream Livewire Password Confirmation
Hello all, I am currently writing a test on a Livewire component through jetstream which makes use of the password confirmation built within it. All works fine within the component functionality but I have an issue where the test is failing due to the use of $this->ensurePasswordIsConfirmed() of which is recommended to be added to the classes method as an additional check. The test passes when I comment this out in the class so it is as if the Livewire test cannot bypass this.
Any ideas as to how this should be handled please?
Please or to participate in this conversation.