Add UI test for custom composite call control options#2324
Merged
JamesBurnside merged 12 commits intomainfrom Sep 14, 2022
Merged
Add UI test for custom composite call control options#2324JamesBurnside merged 12 commits intomainfrom
JamesBurnside merged 12 commits intomainfrom
Conversation
Contributor
Contributor
Calling bundle size is not changed.
|
Contributor
CallWithChat bundle size is not changed.
|
Contributor
Chat bundle size is not changed.
|
Contributor
Contributor
Contributor
Contributor
Contributor
| cameraButton: { | ||
| disabled: true | ||
| }, | ||
| microphoneButton: true, |
Contributor
There was a problem hiding this comment.
What does microphoneButton: true signify as the microphone is disabled as well in the snapshots
Member
Author
There was a problem hiding this comment.
They are simply valid options so including them in the test, we have a bug where setting it to true is causing it to become disabled: #2325
| disabled: true | ||
| }, | ||
| endCallButton: false, | ||
| microphoneButton: true, |
mgamis-msft
reviewed
Sep 13, 2022
| queryArgs.injectCustomButtons | ||
| queryArgs.customCallCompositeOptions | ||
| ? queryArgs.customCallCompositeOptions | ||
| : queryArgs.injectCustomButtons |
Contributor
There was a problem hiding this comment.
Not part of this PR but can we remove injectCustomButtons query arg. It seems like a less flexible version of customCallCompositeOptions.
Member
Author
There was a problem hiding this comment.
We should, but slightly more difficult as it includes a function which doesn't JSON.stringify well (we'd need to add custom logic to handle it)
mgamis-msft
approved these changes
Sep 13, 2022
prabhjot-msft
approved these changes
Sep 14, 2022
Contributor
carocao-msft
pushed a commit
that referenced
this pull request
Sep 14, 2022
carocao-msft
pushed a commit
that referenced
this pull request
Sep 16, 2022
carocao-msft
pushed a commit
that referenced
this pull request
Sep 16, 2022
carocao-msft
added a commit
that referenced
this pull request
Sep 19, 2022
* show/hide menu button * Change files * lint fix' * Update composite automation snapshots * fix test * Update composite automation snapshots * Update composite automation snapshots * show elipses when hovered * Update composite automation snapshots * Update composite automation snapshots * change id to classname' * Update composite automation snapshots * Update composite automation snapshots * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * Update storybook to contain docs on customizing call controls in call composite (#2333) * snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * [Call Readiness] Unsupported Browser UI (#2334) * create new view for the composite * Add base component and strings * remove button * create new story files * add story book content and build * fix icons * move styles to own file * add CC for unsupported browser * more CC work * Change files * fix linter errors * make component beta * remove console * fix cc error * make supporting types interfaces * build API * fix cc * rebuild api * fix nits * Small Refactor: move call composite side pane state handling to its own hook (#2342) * Add instructions to update callwithchat hero sample (#2337) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * new changes based on standup discussion * new changes based on standup discussion * test fix * test fix * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * delete old snapshot' * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Anjul Garg <anjulgarg@live.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>
carocao-msft
added a commit
that referenced
this pull request
Sep 20, 2022
* show/hide menu button * Change files * lint fix' * Update composite automation snapshots * fix test * Update composite automation snapshots * Update composite automation snapshots * show elipses when hovered * Update composite automation snapshots * Update composite automation snapshots * change id to classname' * Update composite automation snapshots * Update composite automation snapshots * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * Update storybook to contain docs on customizing call controls in call composite (#2333) * snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * [Call Readiness] Unsupported Browser UI (#2334) * create new view for the composite * Add base component and strings * remove button * create new story files * add story book content and build * fix icons * move styles to own file * add CC for unsupported browser * more CC work * Change files * fix linter errors * make component beta * remove console * fix cc error * make supporting types interfaces * build API * fix cc * rebuild api * fix nits * Small Refactor: move call composite side pane state handling to its own hook (#2342) * Add instructions to update callwithchat hero sample (#2337) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * new changes based on standup discussion * new changes based on standup discussion * test fix * test fix * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * delete old snapshot' * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Anjul Garg <anjulgarg@live.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>
carocao-msft
added a commit
that referenced
this pull request
Sep 20, 2022
* error bar * Change files * error bar * error bar * use action * use action * use action * pr change * [Call Readiness] Unsupported Browser UI (#2334) * create new view for the composite * Add base component and strings * remove button * create new story files * add story book content and build * fix icons * move styles to own file * add CC for unsupported browser * more CC work * Change files * fix linter errors * make component beta * remove console * fix cc error * make supporting types interfaces * build API * fix cc * rebuild api * fix nits * Small Refactor: move call composite side pane state handling to its own hook (#2342) * Add instructions to update callwithchat hero sample (#2337) * Show/hide menu button on hover/click/focus (#2319) * show/hide menu button * Change files * lint fix' * Update composite automation snapshots * fix test * Update composite automation snapshots * Update composite automation snapshots * show elipses when hovered * Update composite automation snapshots * Update composite automation snapshots * change id to classname' * Update composite automation snapshots * Update composite automation snapshots * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * Update storybook to contain docs on customizing call controls in call composite (#2333) * snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * test * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * [Call Readiness] Unsupported Browser UI (#2334) * create new view for the composite * Add base component and strings * remove button * create new story files * add story book content and build * fix icons * move styles to own file * add CC for unsupported browser * more CC work * Change files * fix linter errors * make component beta * remove console * fix cc error * make supporting types interfaces * build API * fix cc * rebuild api * fix nits * Small Refactor: move call composite side pane state handling to its own hook (#2342) * Add instructions to update callwithchat hero sample (#2337) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * Add UI test for custom composite call control options (#2324) * new changes based on standup discussion * new changes based on standup discussion * new changes based on standup discussion * test fix * test fix * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * delete old snapshot' * Update packages/react-composites CallComposite browser test snapshots * test * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Anjul Garg <anjulgarg@live.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com> * error bar * error bar * build file * Revert "error bar" This reverts commit cc0c577. * fix index Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Anjul Garg <anjulgarg@live.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Missing test area, came across a bug when locally testing: #2325
How Tested
n/a - see updated snapshots