Closed (works as designed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
phpunit
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2021 at 15:25 UTC
Updated:
24 Nov 2022 at 08:14 UTC
Jump to comment: Most recent
Comments
Comment #2
anybodySee Mink issue here: https://github.com/minkphp/Mink/pull/709 would make sense to implement this upstream, wouldn't it?
Agree with @Grevil that it would be expected and comfortable to have that functionality.
Comment #3
murilohp commentedComment #4
murilohp commented@anybody, that was a great suggestion, the only problem with the PR https://github.com/minkphp/Mink/pull/709 was, it was opened, closed but never merged, then I created a new issue: https://github.com/minkphp/Mink/issues/816 to track this situation, and fortunately, this new issue was merged!
I'll keep the assign to me, and I'll wait for a new release of mink, when it's done, I can update the .lock with the elementAttributeNotExists.
Comment #5
anybodyWhaooo that's very very cool @murilohp thank you !! :)
Comment #6
grevil commentedVery nice, appreciate it @murilohp!
Comment #8
murilohp commentedA new version of mink landed! See #3264903: Switch from friends-of-behat/mink back to behat/mink once it's Symfony 6 compatible, now we can implement
elementAttributeNotExistsinWebAssert.php.Comment #9
smustgrave commentedMR needs to be updated for 10.1
+1 for this though
Comment #10
grevil commentedMust've gone under in my inbox! Thanks for implementing this @murilohp!
Comment #11
grevil commentedI can rebase it for 10.0.x, but @murilohp needs to set the MRs target branch to 10.1.x :)
Comment #12
grevil commentedAlright guys, this issue is actually already fixed in 10.1.x!!
WebAssert now directly extends "Behat\Mink\WebAssert" in 10.1.x, where elementAttributeNotExists is already implemented! :)
See https://github.com/minkphp/Mink/blob/19e58905632e7cfdc5b2bafb9b950a3521a...
Closing this! Sorry for not reviewing this earlier @murilohp!