-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Adds Experiment flag to School Association, UI tests"" (
#57980) * Revert "Revert "Adds Experiment flag to School Association, UI tests (#57873)…" This reverts commit bda7d08. * writing new step for random email
- Loading branch information
1 parent
63ac23c
commit 5f38bb1
Showing
8 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
dashboard/test/ui/features/acquisition_products/sign_up.feature
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@eyes | ||
Feature: Teacher can create a new account | ||
|
||
Scenario: Teacher can create an account with the new school association flow | ||
|
||
Given I am on "http://studio.code.org/users/sign_up" | ||
And I fill in the sign up email field with a random email | ||
And I press keys "password" for element "#user_password" | ||
And I press keys "password" for element "#user_password_confirmation" | ||
And I press "#signup_form_submit" using jQuery | ||
# Add the experiment flag | ||
And I am on "http://studio.code.org/users/sign_up?enableExperiments=school_association_v2" | ||
And I press "select-user-type-teacher" | ||
And I press keys "myDisplayName" for element "#user_name" | ||
And I select the "United States" option in dropdown "uitest-country-dropdown" | ||
And I press keys "31513" for element "#uitest-school-zip" | ||
And I select the "Appling County High School" option in dropdown "uitest-school-dropdown" | ||
And I open my eyes to test "School Association" | ||
And I see no difference for "School Association: all fields" | ||
When I press "user_email_preference_opt_in_no" | ||
And I press "#signup_finish_submit" using jQuery | ||
And I wait until I see selector "#uitest-accept-section-creation" |
This file contains 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