Closed u01jmg3 closed 10 months ago
What's the different compared to existing waitFor()
?
Good catch. Could we have an alias? I immediately looked for the opposite of waitUntilMissing()
, which I was already using, and couldn't find waitUntilPresent()
. When there are so many assertions, naming them is key for folks to find the one they want (without diving into the code). ✌🏻
(Happy to update just the docs assuming you don't want the extra code.)
Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.
The new
waitUntilPresent()
compliments the existingwaitUntilMissing()
.(Test included ✅)