MDL-74276 report: Update behat tests to account for new page.

This commit is contained in:
Peter Dias 2022-03-25 13:10:58 +08:00
parent 3eb80e7386
commit 2c27a33213
28 changed files with 51 additions and 51 deletions

View file

@ -49,7 +49,7 @@ Feature: See the competencies for an activity
@javascript
Scenario: Go to the competency breakdown report
When I navigate to "Reports" in current page administration
And I select "Competency breakdown" from the "Report type" singleselect
And I click on "Competency breakdown" "link"
And I set the field "Filter competencies by resource or activity" to "PageName1"
Then I should see "Test-Comp1"
And I should not see "Test-Comp2"

View file

@ -21,7 +21,7 @@ Feature: In a course administration page, navigate through report page, test for
Given I log in as "admin"
And I am on "Course 1" course homepage
When I navigate to "Reports" in current page administration
And I select "Competency breakdown" from the "Report type" singleselect
And I click on "Competency breakdown" "link"
Then "Report" "field" should exist
And the "Report" select box should contain "Competency breakdown"
And the field "Report" matches value "Competency breakdown"