Skip to content

Commit a2f0299

Browse files
snakemuhammadarnaldo
authored andcommitted
MDL-85918 core_ltix: add coverage of 'active placements' column
1 parent f253b93 commit a2f0299

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ltix/tests/behat/managecoursetools.feature

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,14 @@ Feature: Manage course tools
141141
And I set the field "Mock placement" to "<fieldvalue>"
142142
And I click on "Apply" "button" in the ".modal-content" "css_element"
143143
And I should see "Placement status saved"
144+
And I <activeplacementvisible> see "Mock placement" in the "Site tool 1" "table_row"
144145
And I choose the "Manage placements" item in the "Actions" action menu of the "Site tool 1" "table_row"
145146
And the field "Mock placement" matches value "<expectedapplyvalue>"
146147

147148
Examples:
148-
| fieldvalue | expectedcancelvalue | expectedapplyvalue |
149-
| 0 | 1 | 0 |
150-
| 1 | 1 | 1 |
149+
| fieldvalue | expectedcancelvalue | expectedapplyvalue | activeplacementvisible |
150+
| 0 | 1 | 0 | should not |
151+
| 1 | 1 | 1 | should |
151152

152153
@javascript
153154
Scenario Outline: Verify default placement status in course

0 commit comments

Comments
 (0)