zulip/frontend_tests
Steve Howell 155f6da8ba bots: Add owner_id to bot-related payloads.
For the below payloads we want `owner_id` instead
of `owner`, which we should deprecate.  (The
`owner` field is actually an email, which is
not a stable key.)

    page_params.realm_bots

    realm_bot/add

    realm_bot/update

IMPORTANT NOTE: Some of the data served in
these payloads is cached with the key
`bot_dicts_in_realm_cache_key`.

For page_params, we get the new field
via `get_owned_bot_dicts`.

For realm_bot/add, we modified
`created_bot_event`.

For realm_bot/update, we modified
`do_change_bot_owner`.

On the JS side, we no longer
look up the bot's owner directly in
`server_events_dispatch` when we get
a realm_bot/update event. Instead, we
delegate that job to `bot_data.js`.
I modified the tests accordingly.
2020-05-11 16:16:58 -07:00
..
casper_lib casper: Extract manage_organization helper. 2020-04-10 07:51:25 -04:00
casper_tests casper: Fix invalid check in 00-realm-creation. 2020-05-06 10:54:48 -07:00
node_tests bots: Add owner_id to bot-related payloads. 2020-05-11 16:16:58 -07:00
puppeteer_tests tests: Add realm creation test using puppeteer. 2020-04-02 15:37:12 -07:00
zjsunit zblueslip: Simplify broken error message. 2020-04-24 18:24:12 -04:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00