Fix test_passed_geometry
This commit is contained in:
parent
ebc72c9b5f
commit
8d7baea9ae
@ -675,7 +675,7 @@ class TestRectOnView:
|
||||
elem = get_webelem(frame=frame, js_rect_return=js_rect)
|
||||
rect = QRect(10, 20, 30, 40)
|
||||
assert elem.rect_on_view(elem_geometry=rect) == rect
|
||||
assert not raw_elem.geometry.called
|
||||
assert not elem._elem.geometry.called
|
||||
|
||||
@pytest.mark.parametrize('js_rect', [None, {}])
|
||||
@pytest.mark.parametrize('zoom_text_only', [True, False])
|
||||
|
Loading…
Reference in New Issue
Block a user