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
dc570859
Commit
dc570859
authored
Jan 17, 2014
by
zubiar-arbi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable tests depending on assert is_css_present(css_selector)
STUD-1183
parent
6c0ac477
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
22 deletions
+21
-22
cms/djangoapps/contentstore/features/course-team.feature
+13
-14
cms/djangoapps/contentstore/features/static-pages.feature
+7
-7
common/djangoapps/terrain/ui_helpers.py
+1
-1
No files found.
cms/djangoapps/contentstore/features/course-team.feature
View file @
dc570859
...
...
@@ -61,20 +61,19 @@ Feature: CMS.Course Team
And
he cannot add users
And
he cannot delete users
# Disabled 1/13/14 due to flakiness observed in master
#Scenario: Admins should be able to give course ownership to someone else
# Given I have opened a new course in Studio
# And the user "gina" exists
# And I am viewing the course team settings
# When I add "gina" to the course team
# And I make "gina" a course team admin
# And I remove admin rights from myself
# And "gina" logs in
# And she selects the new course
# And she views the course team settings
# And she deletes me from the course team
# And I am logged into studio
# Then I do not see the course on my page
Scenario
:
Admins should be able to give course ownership to someone else
Given
I have opened a new course in Studio
And
the user
"gina"
exists
And
I am viewing the course team settings
When
I add
"gina"
to the course team
And
I make
"gina"
a course team admin
And
I remove admin rights from myself
And
"gina"
logs
in
And
she selects the new course
And
she views the course team settings
And
she deletes me from the course team
And
I am logged into studio
Then
I do not see the course on my page
Scenario
:
Admins should be able to remove their own admin rights
Given
I have opened a new course in Studio
...
...
cms/djangoapps/contentstore/features/static-pages.feature
View file @
dc570859
...
...
@@ -5,16 +5,16 @@ Feature: CMS.Static Pages
Scenario
:
Users can add static pages
Given
I have opened a new course in Studio
And
I go to the static pages page
Then
I should not see any static pages
When
I add a new page
Then
I should see a static page named
"Empty"
# Disabled 1/13/14 due to flakiness observed in master
#Scenario: Users can delete static pages
# Given I have created a static page
# When I "delete" the static page
# Then I am shown a prompt
# When I confirm the prompt
# Then I should not see any static pages
Scenario
:
Users can delete static pages
Given
I have created a static page
When
I
"delete"
the static page
Then
I am shown a prompt
When
I confirm the prompt
Then
I should not see any static pages
# Safari won't update the name properly
@skip_safari
...
...
common/djangoapps/terrain/ui_helpers.py
View file @
dc570859
...
...
@@ -264,7 +264,7 @@ def url_equals(url):
@world.absorb
def
is_css_present
(
css_selector
,
wait_time
=
1
0
):
def
is_css_present
(
css_selector
,
wait_time
=
3
0
):
return
world
.
browser
.
is_element_present_by_css
(
css_selector
,
wait_time
=
wait_time
)
...
...
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