Then I see "subject" above "others"

Assert a subject locator is above one or more others (absolute page coordinates).

Then (I |we )*see ([a-zA-Z0-9 ,\-]+) above ([a-zA-Z0-9 ,\-]+)

 

Example #1: Then I see header above footer
Example #2: Then I see logo above search
Example #3: Then I see nav above content, footer
Example #4: Then I see hero above sidebar and footer
Example #5: Then I see top bar above nav, content and footer
Example #6: Then I see heading above subline
Example #7: Then I see nav above content
Example #8: Then I see search above results
Example #9: Then I see banner above body
Example #10: Then I see menu above page

Advanced: multi-subject / multi-target dispatch:


Example #11: Single subject, many targets (comma + "and"):
Then I see heading above subline, list and footer


Example #12: Many subjects, single target:
Then I see heading, subline above list


Example #13: Cartesian, many subjects × many targets:
Then I see heading, subline above list, footer