Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b27857ca
Commit
b27857ca
authored
Jul 31, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #534 from edx/will/fix-signup-test
Fix broken Studio signup.feature acceptance test
parents
25955a79
a48c7cfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
cms/djangoapps/contentstore/features/signup.feature
+1
-2
cms/djangoapps/contentstore/features/signup.py
+4
-8
No files found.
cms/djangoapps/contentstore/features/signup.feature
View file @
b27857ca
...
...
@@ -8,8 +8,7 @@ Feature: Sign in
When
I click the link with the text
"Sign Up"
And
I fill in the registration form
And
I press the Create My Account button on the registration form
Then
I should see be on the studio home page
And
I should see the message
"complete your sign up we need you to verify your email address"
Then
I should see an email verification prompt
Scenario
:
Login with a valid redirect
Given
I have opened a new course in Studio
...
...
cms/djangoapps/contentstore/features/signup.py
View file @
b27857ca
...
...
@@ -22,14 +22,10 @@ def i_press_the_button_on_the_registration_form(step):
world
.
css_click
(
submit_css
)
@step
(
'I should see be on the studio home page$'
)
def
i_should_see_be_on_the_studio_home_page
(
step
):
step
.
given
(
'I should see the message "My Courses"'
)
@step
(
u'I should see the message "([^"]*)"$'
)
def
i_should_see_the_message
(
step
,
msg
):
assert
world
.
browser
.
is_text_present
(
msg
,
5
)
@step
(
'I should see an email verification prompt'
)
def
i_should_see_an_email_verification_prompt
(
step
):
world
.
css_has_text
(
'h1.page-header'
,
u'My Courses'
)
world
.
css_has_text
(
'div.msg h3.title'
,
u'We need to verify your email address'
)
@step
(
u'I fill in and submit the signin form$'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment