MDL-82273 core_question: Fix behat failed

This commit is contained in:
hieuvu 2024-12-16 15:50:55 +07:00 committed by Sara Arjona
parent f9fedf6cac
commit 984867f4a8
No known key found for this signature in database

View File

@ -69,13 +69,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 "Subcategory"
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 |    Subcategory |
And I set the following fields to these values: