MDL-82273 core_question: Fix behat failed

This commit is contained in:
hieuvu 2024-12-16 15:48:08 +07:00 committed by Sara Arjona
parent 5800e83c46
commit 5dbded532a
No known key found for this signature in database

View File

@ -71,13 +71,13 @@ Feature: The questions in the question bank can be filtered by combine various c
And I should not see "question 4 name" in the "categoryquestions" "table"
@javascript
Scenario: Filtered category should be kept when we create new question.
Scenario: Filtered category should be kept when we create new question
Given I apply question bank filter "Category" with value "Test questions 3"
And I should not see "question 1 name"
And I should not see "question 2 name"
And I click on "Create a new question" "button"
And I click on "True/False" "text"
And I click on "submitbutton" "button"
And I set the field "True/False" to "1"
And I click on "Add" "button" in the "Choose a question type to add" "dialogue"
And the following fields match these values:
| Category | Test questions 3 |
And I set the following fields to these values: