Skip to content

Commit

Permalink
Defect 705096: Behat: mod/studentquiz (OUVLE_458)- Users can change t…
Browse files Browse the repository at this point in the history
…he state right multi-question has been chosen after paging. #705096
  • Loading branch information
Khoa Nguyen Dang authored and timhunt committed Aug 8, 2023
1 parent 245594b commit 656789c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/behat/pagination.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ Feature: Test pagination for StudentQuiz
Scenario: Users can change the state right multi-question has been chosen after paging.
Given I am on the "StudentQuiz 1" "mod_studentquiz > View" page logged in as "admin"
And I should see "" in the "Test question 1" "table_row"
And I click on "Sort by Question ascending" "link"
And I set the field "qperpage" to "4"
And I press enter
And I click on "Question is new. Click here to change the state of this question" "link" in the "Test question 11" "table_row"
And I should see "Test question 11"
And I should not see "Test question 21"
And I should not see "Test question 12"

@javascript
Scenario: Users edit question should keep the same pagination.
Expand Down

0 comments on commit 656789c

Please sign in to comment.