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
Adds Experiment flag to School Association, UI tests #57873
Conversation
@@ -36,7 +36,6 @@ const EVENTS = { | |||
COUNTRY_SELECTED: 'User Selects Country', | |||
ZIP_CODE_ENTERED: 'Valid Zip Code Entered', | |||
SCHOOL_SEARCH_INPUT_ENTERED: 'School Search Input Entered', | |||
SCHOOL_LIST_OPENED: 'School List Opened', |
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.
This is a followup from a conversation here: https://docs.google.com/document/d/1Ulaxj3K6AMNOOjw_244LNOV5ypuHJMjGpUItXpZuC4I/edit?disco=AAABJx8KQyg
@@ -236,28 +237,37 @@ $(document).ready(() => { | |||
|
|||
function renderSchoolInfo() { | |||
if (schoolInfoMountPoint) { | |||
ReactDOM.render( |
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.
This is not edited: just moved
@@ -51,7 +51,6 @@ export default function SchoolZipSearch({fieldNames, zip}) { | |||
sendAnalyticsEvent(EVENTS.DO_NOT_TEACH_AT_SCHOOL_CLICKED, {}); | |||
} else if (schoolId === SELECT_A_SCHOOL) { | |||
ncesId = ''; | |||
// sendAnalyticsEvent(EVENTS.SCHOOL_LIST_OPENED, {}); |
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.
See comment above: we decided to move forward without this event
So exciting to see this! @hannahbergam one wonder. Can we make the box for school association as big as it will need to be for all the inputs? I feel like that will cut down on the "surprise" feeling. |
I could understand that. I think it might look a little funky as we only need two fields for non-us (and I imagine I'd be setting a fixed height large enough for the max fields), but maybe that's all in my head. Do you want just empty grey space? |
Ya I wondered about this too. I wonder what Moshe thinks. Maybe we ask him tomorrow? |
🙌🏼 |
dashboard/test/ui/features/acquisition_products/sign_up.feature
Outdated
Show resolved
Hide resolved
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.
🎉
This reverts commit 8f9122f.
This PR adds an experiment flag school_association_v2 to be used to test the new school association flow. It also utilizes that flag to write a feature file (including an eyes test) for the sign up flow. I was able to watch it work/troubleshoot via a Saucelabs tunnel (and commenting out the eyes lines) - See the saucelabs run below.
As a bonus, we didn't have any ui/eyes test coverage of this sign up flow before, so yay! 🎉
trimmed.mp4
This required adding some ids to existing buttons/inputs/dropdowns.
Additionally, this will technically make the new school association public for folks to experience on production with the experiment flag ?enableExperiments=school_association_v2
Warning!!
The AP CSP Create Performance Task is in progress. The most critical dates are from April 3 - April 30, 2024. Please consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking anything in these two labs. Even small changes, such as a different button color, are considered significant during this time period. Reach out to the Student Learning team or Curriculum team for more details.
Links
Testing story
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: