Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
47c92894
Commit
47c92894
authored
Nov 19, 2021
by
ilya
Browse files
MDL-69092 mod_lti: Fix typo.
parent
36f3aee3
Changes
4
Hide whitespace changes
Inline
Side-by-side
mod/lti/amd/build/tool_configure_controller.min.js
View file @
47c92894
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
mod/lti/amd/build/tool_configure_controller.min.js.map
View file @
47c92894
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
mod/lti/amd/src/tool_configure_controller.js
View file @
47c92894
...
...
@@ -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
);
...
...
mod/lti/tests/behat/viewtools.feature
View file @
47c92894
...
...
@@ -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
Write
Preview
Supports
Markdown
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