Skip to content

[Feature request] Assert never JavaScript errors globally #1721

Description

@mnapoli

Hi! I keep adding assertNoJavaScriptErrors() everywhere. I wish it was just enabled by default, always.

I.e. if there are JavaScript errors, then the test should just fail.

I understand this would be a breaking change so having the possibility to enable this (globally) as opt-in would be a great option.

Was there a reason this didn't exist (e.g. I'm missing something obvious why it's a bad idea), or it was just not implemented yet? (maybe I can help with that, just want to make sure it's a good idea first)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions