Wait for js to finish loading before trying to click on advanced settings
This commit is contained in:
@@ -17,6 +17,8 @@ DEPRECATED_SETTINGS = ["CSS Class for Course Reruns", "Hide Progress Tab", "XQA
|
||||
@step('I select the Advanced Settings$')
|
||||
def i_select_advanced_settings(step):
|
||||
|
||||
world.wait_for_js_to_load()
|
||||
world.wait_for_js_variable_truthy('window.studioNavMenuActive')
|
||||
world.click_course_settings()
|
||||
|
||||
# The click handlers are set up so that if you click <body>
|
||||
|
||||
@@ -97,6 +97,8 @@ define([
|
||||
});
|
||||
dropdownMenuView.postRender();
|
||||
}
|
||||
|
||||
window.studioNavMenuActive = true;
|
||||
});
|
||||
|
||||
function smoothScrollLink(e) {
|
||||
|
||||
Reference in New Issue
Block a user