oncall-engine/engine/apps/slack/tests
Innokentii Konstantinov 1465db36e5
Support stack header from chatops-proxy (#4578)
This PR supports new flow of selecting org to run command in a slack
workspace if several stacks are using it. In this case user selects
default stack to run commands or pass a --stack flag. Both handled by
chatops-proxy which injects selected stack as a header.
On a side note - I found one ScenarioStep with incompatible set of
arguments with parent class. I didn't fixed it, just left TODO
https://github.com/grafana/oncall/pull/4578/files#diff-e323b5f38ed665f73d5da3fa0575958ed54ab587f6521b4cd87e1491b5430f8bR364

Related to https://github.com/grafana/oncall-gateway/issues/256

---------

Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2024-07-19 10:08:52 +00:00
..
tasks fix slack API rate limit errors in send_message_to_thread_if_bot_not_in_channel task (#3803) 2024-01-31 13:42:52 -05:00
test_scenario_steps Support stack header from chatops-proxy (#4578) 2024-07-19 10:08:52 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py Fix handling Slack rate limits (#2991) 2023-09-07 11:25:29 +00:00
factories.py Pass all integration labels down to alert groups (#3302) 2023-11-08 14:04:58 +00:00
test_installation.py Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
test_interactive_api_endpoint.py Support stack header from chatops-proxy (#4578) 2024-07-19 10:08:52 +00:00
test_parse_slack_usernames.py Schedules alpha fixes (#541) 2022-09-21 11:19:59 +01:00
test_populate_slack_channels.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
test_reset_slack.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_slack_client.py Avoid retrying to update Slack log message if cant_update_message (#4329) 2024-05-09 16:16:53 +00:00
test_slack_formatter.py Fix alert group rendering (#3424) 2023-11-24 15:39:37 +00:00
test_slack_message.py Update deep link URL for Slack messages (#4317) 2024-05-09 10:18:48 +00:00
test_slack_renderer.py Show incident button first when alert group is acknowledged (#4642) 2024-07-10 15:01:01 +00:00
test_slash_command.py Support grafana escalate (#4453) 2024-06-05 05:51:26 +00:00
test_user_group.py Fix update slack group to not raise if group is not found (#4423) 2024-05-30 11:27:25 +00:00
test_utils.py Fix post message to slack channel (#3701) 2024-01-17 13:05:36 +00:00