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 contentExample #2
Then I see dropdown over navExample #3
Then I see tooltip over labelExample #4
Then I see overlay over pageExample #5
Then I see popup over heroExample #6
Then I see sticky header over contentExample #7
Then I see cookie banner over footerExample #8
Then I see dialog over sidebarExample #9
Then I see notification over headerExample #10
Then I see lightbox over page