Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defect 705096: Behat: mod/studentquiz (OUVLE_458)- Users can change t… #461

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading