mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
bots: Remove feedback cross realm bot.
This completes the remaining pieces of removing this missed in
d70e799466 (mostly in tests).
Backported to 2.1.x branch.
This commit is contained in:
committed by
Mateusz Mandera
parent
cae803e8a9
commit
cee6227f53
@@ -143,7 +143,7 @@ casper.then(function () {
|
||||
casper.then(function () {
|
||||
casper.click('*[title="Narrow to your private messages with Cordelia Lear"]');
|
||||
});
|
||||
casper.waitUntilVisible('li[data-user-ids-string="9"].expanded_private_message.active-sub-filter', function () {
|
||||
casper.waitUntilVisible('li[data-user-ids-string="8"].expanded_private_message.active-sub-filter', function () {
|
||||
casper.page.sendEvent('keypress', 'c');
|
||||
});
|
||||
|
||||
|
||||
@@ -263,15 +263,15 @@ run_test('validate', () => {
|
||||
});
|
||||
|
||||
run_test('get_invalid_recipient_emails', () => {
|
||||
const feedback_bot = {
|
||||
email: 'feedback@example.com',
|
||||
const welcome_bot = {
|
||||
email: 'welcome-bot@example.com',
|
||||
user_id: 124,
|
||||
full_name: 'Feedback Bot',
|
||||
full_name: 'Welcome Bot',
|
||||
};
|
||||
page_params.cross_realm_bots = [feedback_bot];
|
||||
page_params.cross_realm_bots = [welcome_bot];
|
||||
page_params.user_id = 30;
|
||||
people.initialize();
|
||||
compose_state.private_message_recipient('feedback@example.com');
|
||||
compose_state.private_message_recipient('welcome-bot@example.com');
|
||||
assert.deepEqual(compose.get_invalid_recipient_emails(), []);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user