Skip to content

Commit

Permalink
MDL-78082 gradereport_grader: Remove xpath from Behat.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov authored and junpataleta committed Sep 8, 2023
1 parent 11b51ea commit 9d260df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grade/report/grader/tests/behat/locking.feature
Expand Up @@ -33,7 +33,7 @@ Feature: Locking Grade Items and Categories in Gradebook
Given I am on the "Course 1" "grades > Grader report > View" page logged in as "teacher1"
And I turn editing mode on
And I change window size to "large"
When I click on "Cell actions" "button" in the "//td[count(//th[.//descendant::a[normalize-space(text())='Manual grade 1']]/preceding-sibling::*)][../th[1]/a[normalize-space(text())='Student 1']]" "xpath_element"
When I click on "Manual grade 1" "core_grades > grade_actions" in the "Student 1" "table_row"
And I choose "Lock" in the open action menu
And I click on grade item menu "Manual grade 1" of type "gradeitem" on "grader" page
And I choose "Lock" in the open action menu
Expand All @@ -47,7 +47,7 @@ Feature: Locking Grade Items and Categories in Gradebook
Given I am on the "Course 1" "grades > Grader report > View" page logged in as "teacher1"
And I turn editing mode on
And I change window size to "large"
When I click on "Cell actions" "button" in the "//td[count(//th[.//descendant::a[normalize-space(text())='Manual grade 1']]/preceding-sibling::*)][../th[1]/a[normalize-space(text())='Student 1']]" "xpath_element"
When I click on "Manual grade 1" "core_grades > grade_actions" in the "Student 1" "table_row"
And I choose "Edit grade" in the open action menu
And I set the field "Locked" to "1"
And I press "Save changes"
Expand Down

0 comments on commit 9d260df

Please sign in to comment.