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.
I need to check whether the [Delete] button is on the node edit form or not. For this I wrote assertButton() and assertNoButton().
It works for me, but it still needs some tests.
Comment | File | Size | Author |
---|---|---|---|
simpletest.assertButton.patch | 2.07 KB | salvis | |