zulip/frontend_tests/puppeteer_tests
Lauryn Menard 6b4ab21562 narrow-banner: Exclude bots when checking org sending pms policy.
Private messages between a user and a bot are not restricted by
the organization's policy setting for sending private messages.
So, for the empty banner text, we set the default title for
a single bot for the "pm-with" narrow.

Group private messages that include a bot are restricted by
this policy setting, so those messages stay the same.

Also, since bot's aren't people, we update the text for valid
"pm-with", "sender" and "group-pm-with" operands to include the
user's full name in the title.

When there are multiple people in the "pm-with" narrow, we still
send a generic "these people" message instead of listing all the
users in the narrow.

Finally, we make the default message end in a period instead of
an exclamation mark.
2022-11-04 14:37:45 -07:00
..
admin.ts delete custom emoji: Add confirmation dialog. 2022-09-17 11:55:33 -07:00
compose.ts pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
copy-and-paste.ts puppeteer_tests: Remove jQuery dependency. 2022-09-11 12:53:20 -07:00
custom-profile.ts settings: Add default label and hint when creating "Prounouns" custom field. 2022-10-06 17:56:26 -07:00
delete-message.ts puppeteer_tests: Avoid some ElementHandle casts. 2022-09-11 17:41:41 -07:00
drafts.ts narrow: Update browser title when in a narrow search view. 2022-10-18 17:13:51 -07:00
edit.ts message_edit: Allow only content edit in message_edit_form. 2022-10-12 10:50:05 -07:00
mention.ts puppeteer_tests: Add helper to correctly test @class in an XPath query. 2022-09-11 12:53:20 -07:00
message-basics.ts narrow-banner: Exclude bots when checking org sending pms policy. 2022-11-04 14:37:45 -07:00
navigation.ts pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
realm-creation.ts puppeteer_lib: Explode CommonUtils class. 2022-09-11 12:53:20 -07:00
realm-linkifier.ts puppeteer_lib: Explode CommonUtils class. 2022-09-11 12:53:20 -07:00
realm-playground.ts puppeteer_lib: Explode CommonUtils class. 2022-09-11 12:53:20 -07:00
settings.ts settings: Convert `form` to `div` in `Full name` input. 2022-09-29 17:11:15 -07:00
stars.ts puppeteer_tests: Remove jQuery dependency. 2022-09-11 12:53:20 -07:00
stream_create.ts puppeteer_tests: Remove jQuery dependency. 2022-09-11 12:53:20 -07:00
subscribe_toggle.ts puppeteer_tests: Remove jQuery dependency. 2022-09-11 12:53:20 -07:00
user-deactivation.ts puppeteer_lib: Explode CommonUtils class. 2022-09-11 12:53:20 -07:00
user-status.ts puppeteer_lib: Explode CommonUtils class. 2022-09-11 12:53:20 -07:00