(first: ElementTuple, second: ElementTuple)
| 154 | }; |
| 155 | |
| 156 | const elementIsAbove = async (first: ElementTuple, second: ElementTuple) => { |
| 157 | await elementTupleCorrectlyRendered(first); |
| 158 | await elementTupleCorrectlyRendered(second); |
| 159 | |
| 160 | await isAbove(first.button, second.label); |
| 161 | }; |
| 162 | |
| 163 | const elementTupleCorrectlyRendered = async (element: ElementTuple) => { |
| 164 | await isAbove(element.label, element.button); |
no test coverage detected