Skip to content

Commit

Permalink
MDL-84148 tool_lp: clarify the primary save action of scales dialogue.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Jan 9, 2025
1 parent f4f1666 commit 9c0cb6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/tool/lp/templates/scale_configuration_page.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</div>

<div data-region="scale-buttons" class="mt-1 float-sm-end">
<input type="button" class="btn btn-secondary" data-action="close" value="{{#str}}closebuttontitle{{/str}}"/>
<input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
<input type="button" class="btn btn-primary" data-action="close" value="{{#str}}save{{/str}}"/>
</div>
<div class="clearfix"></div>
2 changes: 1 addition & 1 deletion admin/tool/lp/tests/behat/framework_crud.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Manage competency frameworks
And I press "Configure scales"
And I click on "//input[@data-field='tool_lp_scale_default_1']" "xpath_element"
And I click on "//input[@data-field='tool_lp_scale_proficient_1']" "xpath_element"
And I click on "//input[@value='Close']" "xpath_element"
And I click on "Save" "button" in the "Default competence scale" "dialogue"
When I press "Save changes"
Then I should see "Competency framework created"
And I should see "Science Year-1"
Expand Down

0 comments on commit 9c0cb6a

Please sign in to comment.