Merge branch 'MDL-74312-master' of https://github.com/snake/moodle
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/* enrol_lti styles */
|
||||
|
||||
#registration-tab-content .input-group-append a.btn {
|
||||
#registration-tab-content .input-group-append button.btn {
|
||||
border: solid 1px #8f959e;
|
||||
}
|
||||
form#auto_submit {
|
||||
display: none;
|
||||
}
|
||||
#registration-tab-content .input-group-append a.btn span.pix {
|
||||
#registration-tab-content .input-group-append button.btn span.pix {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -70,9 +70,7 @@
|
||||
<div class="input-group col-md-6 ml-0 pl-0">
|
||||
<input class="form-control" type="text" value="{{url}}" aria-label="{{url}}" id="lti_tool_endpoint_url_{{id}}" readonly>
|
||||
<div class="input-group-append">
|
||||
<a class="btn btn-secondary"
|
||||
href="#"
|
||||
role="button"
|
||||
<button class="btn btn-secondary"
|
||||
aria-label="{{#str}} copytoclipboard, enrol_lti {{/str}}"
|
||||
data-action="copytoclipboard"
|
||||
data-clipboard-success-message="{{#str}}copiedtoclipboard, enrol_lti, {{name}}{{/str}}"
|
||||
@@ -80,7 +78,7 @@
|
||||
id="{{id}}"
|
||||
title="{{#str}}copytoclipboard, enrol_lti{{/str}}">
|
||||
<span class="pix">{{#pix}} t/clipboard, core {{/pix}}</span>
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -110,9 +108,7 @@
|
||||
<div class="input-group col-md-6 ml-0 pl-0">
|
||||
<input class="form-control" type="text" value="{{url}}" aria-label="{{url}}" id="lti_tool_endpoint_url_{{id}}" readonly>
|
||||
<div class="input-group-append">
|
||||
<a class="btn btn-secondary"
|
||||
href="#"
|
||||
role="button"
|
||||
<button class="btn btn-secondary"
|
||||
aria-label="{{#str}} copytoclipboard, enrol_lti {{/str}}"
|
||||
data-action="copytoclipboard"
|
||||
data-clipboard-success-message="{{#str}}copiedtoclipboard, enrol_lti, {{name}}{{/str}}"
|
||||
@@ -120,7 +116,7 @@
|
||||
id="{{id}}"
|
||||
title="{{#str}}copytoclipboard, enrol_lti{{/str}}">
|
||||
<span class="pix">{{#pix}} t/clipboard, core {{/pix}}</span>
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -198,18 +198,18 @@ Feature: Register a platform with the tool
|
||||
And the "value" attribute of "Initiate login URL" "field" should contain "enrol/lti/login.php"
|
||||
And the "value" attribute of "JWKS URL" "field" should contain "enrol/lti/jwks.php"
|
||||
And the "value" attribute of "Deep linking URL" "field" should contain "enrol/lti/launch_deeplink.php"
|
||||
And "Copy to clipboard" "link" should exist in the "Registration URL" "table_row"
|
||||
And "Copy to clipboard" "link" should exist in the "Tool URL" "table_row"
|
||||
And "Copy to clipboard" "link" should exist in the "Initiate login URL" "table_row"
|
||||
And "Copy to clipboard" "link" should exist in the "JWKS URL" "table_row"
|
||||
And "Copy to clipboard" "link" should exist in the "Deep linking URL" "table_row"
|
||||
When I click on "Copy to clipboard" "link" in the "Registration URL" "table_row"
|
||||
And "Copy to clipboard" "button" should exist in the "Registration URL" "table_row"
|
||||
And "Copy to clipboard" "button" should exist in the "Tool URL" "table_row"
|
||||
And "Copy to clipboard" "button" should exist in the "Initiate login URL" "table_row"
|
||||
And "Copy to clipboard" "button" should exist in the "JWKS URL" "table_row"
|
||||
And "Copy to clipboard" "button" should exist in the "Deep linking URL" "table_row"
|
||||
When I click on "Copy to clipboard" "button" in the "Registration URL" "table_row"
|
||||
Then I should see "Registration URL copied to clipboard"
|
||||
And I click on "Copy to clipboard" "link" in the "Tool URL" "table_row"
|
||||
And I click on "Copy to clipboard" "button" in the "Tool URL" "table_row"
|
||||
And I should see "Tool URL copied to clipboard"
|
||||
And I click on "Copy to clipboard" "link" in the "Initiate login URL" "table_row"
|
||||
And I click on "Copy to clipboard" "button" in the "Initiate login URL" "table_row"
|
||||
And I should see "Initiate login URL copied to clipboard"
|
||||
And I click on "Copy to clipboard" "link" in the "JWKS URL" "table_row"
|
||||
And I click on "Copy to clipboard" "button" in the "JWKS URL" "table_row"
|
||||
And I should see "JWKS URL copied to clipboard"
|
||||
And I click on "Copy to clipboard" "link" in the "Deep linking URL" "table_row"
|
||||
And I click on "Copy to clipboard" "button" in the "Deep linking URL" "table_row"
|
||||
And I should see "Deep linking URL copied to clipboard"
|
||||
|
||||
Reference in New Issue
Block a user