Skip to content

Capture screenshots on failures #927

@NullVoxPopuli

Description

@NullVoxPopuli

Just learned about this api: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab though, capturing a screenshot of the test area may require something else like: https://github.com/NullVoxPopuli/limber/blob/main/frontend/app/components/limber/copy-menu.gts#L21

Would be great to include a screenshot of the test area in failed assertions, just to provide more information and allow folks to maybe see whan happened before rerunning tests with added pause/debugger/logs/etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions