zulip/frontend_tests/puppeteer_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
..
admin.ts puppeteer_tests: Remove sequential numbers from test files. 2021-04-01 07:46:13 -07:00
compose.ts minor: Correct comment in compose test. 2021-05-04 16:40:43 -07:00
copy-and-paste.ts puppeteer_tests: Remove sequential numbers from test files. 2021-04-01 07:46:13 -07:00
custom-profile.ts puppeteer_tests: Remove sequential numbers from test files. 2021-04-01 07:46:13 -07:00
delete-message.ts puppeteer: Stop using .info class to find element. 2021-06-11 18:08:36 -07:00
drafts.ts docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
edit.ts puppeteer: Fix the selector for opening the message action menu. 2021-06-12 09:00:57 -04:00
mention.ts custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
message-basics.ts puppeteer_tests: Add missing `waitFor` call to avoid rare flake. 2021-06-02 15:47:34 -07:00
navigation.ts custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
realm-creation.ts custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
realm-linkifier.ts linkifiers: Add joint validation for linkifier urls and patterns. 2021-06-16 17:51:33 -07:00
realm-playground.ts puppeteer: Fallback to default waitForSelect timeout. 2021-05-24 23:11:41 -07:00
settings.ts custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
stars.ts puppeteer_tests: Remove sequential numbers from test files. 2021-04-01 07:46:13 -07:00
subscriptions.ts custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
user-deactivation.ts settings_users: Refactor user_deactivation modal to confirm_dialog module. 2021-06-08 17:57:27 -07:00