mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
This commit is contained in:
parent
f95b010ec5
commit
ed3b73d9fc
@ -39,30 +39,30 @@ Feature: Submission types
|
||||
| submissiontypefileavailable | 1 |
|
||||
| submissiontypefilerequired | 1 |
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
When I navigate to "Settings" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| submissiontypetextrequired | 0 |
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
When I navigate to "Settings" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| submissiontypetextrequired | 1 |
|
||||
| submissiontypefilerequired | 0 |
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
When I navigate to "Settings" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| submissiontypefileavailable | 0 |
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
When I navigate to "Settings" in current page administration
|
||||
And I set the following fields to these values:
|
||||
| submissiontypefileavailable | 1 |
|
||||
| submissiontypefilerequired | 1 |
|
||||
| submissiontypetextavailable | 0 |
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
|
||||
@javascript @_file_upload
|
||||
Scenario: All submission fields required
|
||||
|
@ -44,4 +44,4 @@ Feature: Workshop assessment with grade to pass
|
||||
And I should see "You must enter a number here."
|
||||
And I set the field "Assessment grade to pass" to "10"
|
||||
And I press "Save and display"
|
||||
Then I should see "Setup phase" in the "h3#mod_workshop-userplanheading" "css_element"
|
||||
Then "Setup phase" "heading" should exist
|
||||
|
Loading…
x
Reference in New Issue
Block a user