Skip to content

HTML5 validation errors - can't find anything in documentation.  #1075

@dwjohnston

Description

@dwjohnston

Describe the bug

I'm trying to make assertions on the existence of HTML5 Validation errors

These things:
image

I have searched 'html5' across the github issues here and for testing-library, as well as on the testing library site - and I can't find any mention of whether this is supported or not.

This StackOverflow question suggests that this is not possible, as well as others facing the same problem (1 2 )

Expected behavior

Looking for a canonical answer whether testing for this behaviour is supported by testing library, and suggestions on otherwise best practises.

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