Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ResponseOps][Cases] Add assignee user actions #139392

Merged
Prev Previous commit
Next Next commit
Fixing test for time being
jonathan-buttner committed Aug 25, 2022
commit 22cd14e009e59257218de33bee10ce5445314aba
Original file line number Diff line number Diff line change
@@ -238,9 +238,11 @@ export default ({ getService }: FtrProviderContext): void => {

it('returns the correct fields', async () => {
const postedCase = await createCase(supertest, postCaseReq);
// all fields that contain the UserRT definition must be included here (aka created_by, closed_by, and updated_by)
// see https://github.com/elastic/kibana/issues/139503
const queryFields: Array<keyof CaseResponse | Array<keyof CaseResponse>> = [
'title',
['title', 'description'],
['title', 'created_by', 'closed_by', 'updated_by'],
['title', 'description', 'created_by', 'closed_by', 'updated_by'],
];

for (const fields of queryFields) {