Skip to content

Conversation

@xuesichao
Copy link
Contributor

@xuesichao xuesichao commented Nov 9, 2021

Issue #:
React Component Library is lack of integration testing coverage.

Description of changes:
Create a simple demo App under /integration folder.
This simple demo has a main page which serves as a menu. We could reuse the component and container to quickly build a simple test demo according to testing requirement. This menu could redirects the App to the specific test demo to do the testing.

Some screenshots for review

Home

Home_Page

Roster Test App - Before Joining

Roster_Test_App_1

Roster Test App - After Joining

Roster_Test_App_2

Testing

  1. Have you successfully run npm run build:release locally?
    Yes

  2. How did you test these changes?
    Try the basic e2e testing and make sure the demo works well.

  3. If you made changes to the component library, have you provided corresponding documentation changes?
    Yes, in CHANGELOG. And create a simple README to guide on adding new test demo.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@xuesichao xuesichao requested a review from ltrung November 9, 2021 18:45
@xuesichao xuesichao force-pushed the test-demo branch 6 times, most recently from ab61775 to 280221c Compare November 17, 2021 21:56
@xuesichao xuesichao force-pushed the test-demo branch 2 times, most recently from 1f39a0a to 6f58feb Compare November 17, 2021 23:10
@xuesichao xuesichao requested a review from a team as a code owner November 18, 2021 23:06
Copy link
Contributor

@jing-chen1 jing-chen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use '' for all strings instead of "", React.FC instead of FC and move the import from react to the top

Copy link
Contributor

@devalevenkatesh devalevenkatesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!

>
<AudioInputControl />
<VideoInputControl />
<AudioOutputControl />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wonder do we need audio output here, does it change any attendee states?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need it for roster test. But since this is a MeetingControls container, I think it's good to keep it. How do you think?

@xuesichao xuesichao merged commit 5f3a40e into master Nov 20, 2021
@xuesichao xuesichao deleted the test-demo branch November 20, 2021 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants