From 4f85228e66b067700e6675860093549529012ab5 Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Tue, 1 Apr 2014 16:11:06 -0400 Subject: [PATCH] Make tab name comparison case-insensitive --- cms/djangoapps/contentstore/features/transcripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/features/transcripts.py b/cms/djangoapps/contentstore/features/transcripts.py index 636b5dd83a..55e861b933 100644 --- a/cms/djangoapps/contentstore/features/transcripts.py +++ b/cms/djangoapps/contentstore/features/transcripts.py @@ -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()