Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a method from AssertContentTrait that's being called by tests in core and 15+ core modules in dozens of places. Providing it for BC should help converting many of the tests to BTB.
It would also help any contrib modules trying to convert that make use of FieldUITestTrait->fieldUIAddExistingField(), for example paragraphs.
Comments
Comment #2
dawehnerI doubt this is possible the way how the mink abstraction layer works.
If you don't use an actual browser to get the stuff of your request, IMHO the right thing to do would be to use a kernel test.
Comment #3
jmuzz CreditAttribution: jmuzz commented