MCPcopy
hub / github.com/pdfarranger/pdfarranger / test_01_import_img

Method test_01_import_img

tests/test.py:452–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

450 content-loss-warning=True""")
451class TestBatch1(PdfArrangerTest):
452 def test_01_import_img(self):
453 self._start(["data/screenshot.png"])
454 # Handle the "content loss warning" dialog
455 dialog = self._find_by_role("dialog")[-1]
456 check_box = self._find_by_role("check box", dialog)[-1]
457 check_box.click() # Don't show this dialog again
458 dialog.button("OK").click()
459 self._wait_cond(lambda: dialog.dead)
460
461 def test_02_properties(self):
462 self._mainmenu("Edit Properties")

Callers

nothing calls this directly

Calls 4

_startMethod · 0.80
_find_by_roleMethod · 0.80
_wait_condMethod · 0.80
clickMethod · 0.45

Tested by

no test coverage detected