ApprovalTests.Python icon indicating copy to clipboard operation
ApprovalTests.Python copied to clipboard

add `Options.add_reporter()`

Open nitsanavni opened this issue 1 year ago • 0 comments

wanted:

verify(story, options=Options().inline().add_reporter(app.screenshot_reporter()))

current workaround:

try:
    verify(story, options=Options().inline())
except:
    pass
verify(story, options=Options().with_reporter(app.screenshot_reporter()).inline())

nitsanavni avatar Apr 25 '24 07:04 nitsanavni