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
4f85228e
Commit
4f85228e
authored
Apr 01, 2014
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make tab name comparison case-insensitive
parent
7770d9d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
cms/djangoapps/contentstore/features/transcripts.py
+1
-1
No files found.
cms/djangoapps/contentstore/features/transcripts.py
View file @
4f85228e
...
...
@@ -230,7 +230,7 @@ def save_changes(_step):
def
open_tab
(
_step
,
tab_name
):
editor_tabs
=
world
.
browser
.
find_by_css
(
'.editor-tabs a'
)
expected_tab_text
=
tab_name
.
strip
()
.
upper
()
matching_tabs
=
[
tab
for
tab
in
editor_tabs
if
tab
.
text
==
expected_tab_text
]
matching_tabs
=
[
tab
for
tab
in
editor_tabs
if
tab
.
text
.
upper
()
==
expected_tab_text
]
assert
len
(
matching_tabs
)
==
1
tab
=
matching_tabs
[
0
]
tab
.
click
()
...
...
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