Skip to content

Commit

Permalink
feat(support): add issuedesc to metadata (#4028)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisadubois authored Dec 16, 2024
1 parent 8278bd1 commit 5e322e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@webex/internal-plugin-support/src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const Support = WebexPlugin.extend({
'surveySessionId',
'productAreaTag',
'issueTypeTag',
'issueDescTag',
'locussessionid',
'autoupload',
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@ describe('plugin-support', () => {

assert.equal(found?.value, autoupload);
});

it('sends issuedesctag if specified in metadata', () => {
const issueDescTag = 'issueDescTag';
const result = webex.internal.support._constructFileMetadata({issueDescTag});
const found = result.find((attr) => attr.key === 'issueDescTag');

assert.equal(found?.value, issueDescTag);
});
});

describe('#submitLogs()', () => {
Expand Down

0 comments on commit 5e322e8

Please sign in to comment.