~aleteoryx/muditaos

ref: d5174215eb42a30cbea8a81b11c26b9cf5c19f11 muditaos/test/pytest/test_dom_dump.py -rw-r--r-- 323 bytes
d5174215 — Radoslaw Wicik [EGD-5819] Fix count 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
import pytest
from harness import log

@pytest.mark.skip("not working ;/")
def test_get_dom(harness):
    body = {"ui": True, "getWindow": True}
    result = harness.endpoint_request("developerMode", "get", body)
    log.info("data {}".format(result))
    assert result['body']
    assert 'Window' in result['body']['dom']