Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
a48c7cfc
Commit
a48c7cfc
authored
11 years ago
by
Will Daly
Browse files
Options
Downloads
Patches
Plain Diff
Replaced direct call to `browser.is_text_present()` with
`world.css_find()` to protect against StaleElementException in Jenkins.
parent
7d7513b6
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/djangoapps/contentstore/features/signup.feature
+1
-2
1 addition, 2 deletions
cms/djangoapps/contentstore/features/signup.feature
cms/djangoapps/contentstore/features/signup.py
+4
-8
4 additions, 8 deletions
cms/djangoapps/contentstore/features/signup.py
with
5 additions
and
10 deletions
cms/djangoapps/contentstore/features/signup.feature
+
1
−
2
View file @
a48c7cfc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
cms/djangoapps/contentstore/features/signup.py
+
4
−
8
View file @
a48c7cfc
...
...
@@ -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$
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment