Then I see "subject" over "others"

Assert a subject locator overlaps another via intersection and z-index.

Step pattern

Then (I |we )*see ((?:[a-zA-Z0-9 ,\-](?!not))+) over ([a-zA-Z0-9 ,\-]+)

Examples

Example #1
Then I see modal over content
Example #2
Then I see dropdown over nav
Example #3
Then I see tooltip over label
Example #4
Then I see overlay over page
Example #5
Then I see popup over hero
Example #6
Then I see sticky header over content
Example #7
Then I see cookie banner over footer
Example #8
Then I see dialog over sidebar
Example #9
Then I see notification over header
Example #10
Then I see lightbox over page