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
a542b3d3
Commit
a542b3d3
authored
Apr 10, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7647 from edx/benp/remove-lettuce-tab-tests
[Lettuce deprecation] Remove redundant lettuce tab tests.
parents
a83d0686
1146bb2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
lms/djangoapps/courseware/features/high-level-tabs.feature
+0
-18
lms/djangoapps/courseware/features/high-level-tabs.py
+0
-11
No files found.
lms/djangoapps/courseware/features/high-level-tabs.feature
deleted
100644 → 0
View file @
a83d0686
@shard_1
Feature
:
LMS.All the high level tabs should work
In order to preview the courseware
As a student
I want to navigate through the high level tabs
Scenario
:
I
can navigate to all high - level tabs in a course
Given
:
I
am registered for the course
"6.002x"
And
The course
"6.002x"
has extra tab
"Custom Tab"
And
I am logged in
And
I click on View Courseware
When I click on the tabs then the page title should contain the following titles
:
|
TabName
|
PageTitle
|
|
Courseware
|
6.002x
Courseware
|
|
Course
Info
|
6.002x
Course
Info
|
|
Custom
Tab
|
Custom
Tab
|
6.002x
|
|
Wiki
|
Wiki
|
edX
|
|
Progress
|
6.002x
Progress
|
lms/djangoapps/courseware/features/high-level-tabs.py
deleted
100644 → 0
View file @
a83d0686
from
lettuce
import
world
,
step
@step
(
u'I click on the tabs then the page title should contain the following titles:'
)
def
i_click_on_the_tab_and_check
(
step
):
for
tab_title
in
step
.
hashes
:
tab_text
=
tab_title
[
'TabName'
]
title
=
tab_title
[
'PageTitle'
]
world
.
click_link
(
tab_text
)
world
.
wait_for
(
lambda
_driver
:
title
in
world
.
browser
.
title
)
assert
(
title
in
world
.
browser
.
title
)
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