zulip/frontend_tests
Rohitt Vashishtha 98f8d94b25 linkifiers: Add joint validation for linkifier urls and patterns.
We now validate the linkifier urls and patterns together, and add
the following additional checks:

1. All groups in the pattern must be used in the URL format string.
2. All groups in the URL format string must be declared in the pattern.

Linkifier pattern is now validated inside the `clean` method.
`filter_pattern_validator` is moved from `clean_fields` to `clean`
method as a safe check. As a result of this, a Puppeteer test case
is updated.

NOTE: The changes here are IN ADDITION to the existing validations.

Fixes #16482.

Co-authored-by: akshatdalton <akshat.dak@students.iiit.ac.in>
2021-06-16 17:51:33 -07:00
..
node_tests node tests: Fix failure resulting from recent rebase. 2021-06-16 16:40:39 -07:00
puppeteer_lib custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
puppeteer_tests linkifiers: Add joint validation for linkifier urls and patterns. 2021-06-16 17:51:33 -07:00
zjsunit zjsunit: Wire $ to zjquery by default. 2021-06-16 12:55:53 -04:00