[ { "alert": { "top": -320.609375, "bottom": -266.21875 }, "dialog": { "top": 16, "bottom": 884 }, "body": { "top": 80.390625, "bottom": 883 }, "visible": false, "width": 1440, "zoom": 1, "initialKeyIdVisible": true, "tabSamples": 60, "chromeSamples": 1 }, { "alert": { "top": -665.609375, "bottom": -611.21875 }, "dialog": { "top": 16, "bottom": 884 }, "body": { "top": 80.390625, "bottom": 883 }, "visible": false, "width": 390, "zoom": 1, "initialKeyIdVisible": true, "tabSamples": 60, "chromeSamples": 1 }, { "alert": { "top": -840.6015625, "bottom": -786.203125 }, "dialog": { "top": 16, "bottom": 434 }, "body": { "top": 80.3984375, "bottom": 433 }, "visible": false, "width": 720, "zoom": 2, "initialKeyIdVisible": true, "tabSamples": 60, "chromeSamples": 2 } ] Traceback (most recent call last): File "/Users/dohertj2/Desktop/MxAccessGateway/docs/ui-validation/validation_visibility.py", line 26, in assert all(m['visible'] and m['initialKeyIdVisible'] for m in measurements),'Validation or initial field outside visible modal viewport' ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Validation or initial field outside visible modal viewport