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.
Currently we have steps to check if a page contains a heading, but we do not have for "not" condition.
I think it would be good to have these two steps also:
1. I should not see the heading "heading text"
2. I should not see the heading "heading text" in the "right sidebar" region
Also, some pages have more than three heading and we can have steps like this:
1. I should see the following
2. I should not see the following
3. I should see the following in the "right sidebar" region
4. I should not see the following in the "right sidebar" region
Any thoughts?
Comments
Comment #1
kssundar CreditAttribution: kssundar commentedThis issue is partially related to the issue #1846792: Step I should see the heading "(?P<heading>[^"]*)" in the "(?P<region>[^"]*)"(?:| region) looks only under h2 tag
Comment #2
jhedstromThese steps were added some time ago. Closing.