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

added a listener for testing host to test manual initialization on test app #2544

Merged
merged 5 commits into from
Oct 16, 2024

Conversation

KangxuanYe
Copy link
Contributor

@KangxuanYe KangxuanYe commented Oct 4, 2024

For more information about how to contribute to this repo, visit this page.

Description

This is a change on test app that it will not go through fixed initialization flow we hard-coded here if one of url parameter is testInit. Instead, it will have a listener listening to our testing host, waiting for message to call corresponding APIs to complete the initialization flow.

Main changes in the PR:

  1. Add a message listener for testing host to call initialization relevant APIs
  2. Set a url parameter so that hard-coded initialization flow will not be handled.

Validation

Unit Tests added: No

End-to-end tests added: No

@KangxuanYe KangxuanYe marked this pull request as ready for review October 14, 2024 16:39
@KangxuanYe KangxuanYe requested a review from a team as a code owner October 14, 2024 16:39
Copy link
Contributor

@TrevorJoelHarris TrevorJoelHarris left a comment

Choose a reason for hiding this comment

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

Left some thoughts about when to set up the listener

apps/teams-test-app/src/App.tsx Outdated Show resolved Hide resolved
apps/teams-test-app/src/App.tsx Outdated Show resolved Hide resolved
apps/teams-test-app/src/App.tsx Outdated Show resolved Hide resolved
apps/teams-test-app/src/App.tsx Outdated Show resolved Hide resolved
@KangxuanYe KangxuanYe force-pushed the kx/register_listener_for_test_host branch from b5a9b18 to 32ba922 Compare October 15, 2024 21:05
Copy link
Contributor

@AE-MS AE-MS left a comment

Choose a reason for hiding this comment

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

🕐

@KangxuanYe KangxuanYe requested a review from AE-MS October 16, 2024 20:36
Copy link
Contributor

@AE-MS AE-MS left a comment

Choose a reason for hiding this comment

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

:shipit:

@KangxuanYe KangxuanYe enabled auto-merge (squash) October 16, 2024 21:46
@KangxuanYe KangxuanYe merged commit 4442e1b into main Oct 16, 2024
28 checks passed
@KangxuanYe KangxuanYe deleted the kx/register_listener_for_test_host branch October 16, 2024 21:59
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.

3 participants