Skip to content

Add more "exclude" options for "self.assert_no_js_errors()" #1576

@mdmintz

Description

@mdmintz

Add more "exclude" options for "self.assert_no_js_errors()"

After the update, all of the following examples should be valid:

self.assert_no_js_errors()
self.assert_no_js_errors(exclude=["/api.", "/analytics."])  # list format
self.assert_no_js_errors(exclude="//api.go,/analytics.go")  # comma-separated format
self.assert_no_js_errors(exclude=["Uncaught SyntaxError"])
self.assert_no_js_errors(exclude=["TypeError", "SyntaxE"])

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions