Commit 47c92894 authored by ilya's avatar ilya
Browse files

MDL-69092 mod_lti: Fix typo.

parent 36f3aee3
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -300,7 +300,7 @@ define(['jquery', 'core/ajax', 'core/paged_content_factory', 'core/notification'
*/
var reloadToolList = function() {
// Behat tests should wait for the tool list to load.
M.cfg.js_pending('reloadToolList');
M.util.js_pending('reloadToolList');
const cardContainer = getToolCardContainer();
const listContainer = getToolListContainer();
......@@ -327,7 +327,7 @@ define(['jquery', 'core/ajax', 'core/paged_content_factory', 'core/notification'
})
.always(function() {
stopLoading(listContainer);
M.cfg.js_complete('reloadToolList');
M.util.js_complete('reloadToolList');
});
});
startLoading(listContainer);
......
......@@ -14,7 +14,6 @@ Feature: Navigate existing LTI tool types using pagination
Scenario: View first page of tool types.
Given I log in as "admin"
When I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration
And I wait until the page is ready
Then I should see "Test tool 30"
And "Test tool 70" "text" should not be visible
......@@ -22,9 +21,7 @@ Feature: Navigate existing LTI tool types using pagination
Scenario: View second page of tool types using page 2 button.
Given I log in as "admin"
When I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration
And I wait until the page is ready
And I click on "2" "link"
And I wait until the page is ready
Then I should see "Test tool 70"
And "Test tool 30" "text" should not be visible
......@@ -32,8 +29,6 @@ Feature: Navigate existing LTI tool types using pagination
Scenario: View last page of tool types using page 2 button.
Given I log in as "admin"
When I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration
And I wait until the page is ready
And I click on "Last" "link"
And I wait until the page is ready
Then I should see "Test tool 70"
And "Test tool 30" "text" should not be visible
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment