-
Notifications
You must be signed in to change notification settings - Fork 4k
Add host communication e2e tests #6806
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
Conversation
ab9ee47 to
648ef96
Compare
|
Hi @sfc-gh-hpathak 😃 |
4a74c90 to
33fafdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM aside from one small tweak that needs to be made
I'm also not sure if this warrants a bit more security process. I think it's worth filing an RA to record this change, but it's unlikely that we need to do more than that.
d440f63 to
f770816
Compare
f770816 to
fc7fb32
Compare
vdonato
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small nits, but aside from those LGTM!
Will have the RA reviewed by EOD today
|
For documentation, applicable RA link here |
* develop: Feature: st.toast (streamlit#6783) Bump semver from 5.7.1 to 5.7.2 in /frontend (streamlit#6982) Add host communication e2e tests (streamlit#6806) Re-add homepage to package.json (streamlit#6987) Remove unnecessary code and Add rm commands to make clean (streamlit#6980) Allow setting placeholder for st.selectbox (streamlit#6913) Allow setting placeholder for st.multiselect (streamlit#6901) Also use bottom padding in embedded mode for chat input (streamlit#6979) Feature/st lib (streamlit#6692) Remove unused import (streamlit#6977) Release 1.24.1 (streamlit#6965) Update st.audio/st.video docstrings (streamlit#6964) Slightly simplify bug report template (streamlit#6972) Fix baseweb warnings by using longhand properties (streamlit#6976)
Adding Cypress end to end tests for host <-> guest communication, based on the recently refactored HostCommunicationManager. Previously, we used hostframe.html to manually test sending messages from the host frame and their processing. This PR allows our automated Github Action workflow for Cypress e2e tests to test this functionality by: whitelisting localhost as an allowed origin - ONLY in development mode & adding a script/spec to trigger messages from a host frame & check for their results
Describe your changes
Adding Cypress end to end tests for host <-> guest communication, based on the recently refactored
HostCommunicationManager.Previously, we used
hostframe.htmlto manually test sending messages from the host frame and their processing. This PR allows our automated Github Action workflow for Cypress e2e tests to test this functionality by:localhostas an allowed origin - ONLY in development mode