Skip to content

there are no e2e tests for offline mode #22

@lexbailey

Description

@lexbailey

Currently offline mode is not tested at all, this means it's easy to break offline mode and not notice.

The difficulties in testing offline mode all centre around: how do you simulate a loss of connection inside cypress during testing?

It's possible that the latest version of cypress has some stuff to support this. I'll investigate that first. But worst case scenario we might need to have some hack in place to force pdfreview into offline mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions