mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-54987-master-fixes' of https://github.com/lameze/moodle
This commit is contained in:
commit
be5837d797
3 changed files with 8 additions and 10 deletions
|
@ -47,12 +47,10 @@ Feature: A teacher can choose one of 4 options for publishing choice results
|
|||
And I follow "Course 1"
|
||||
When I follow "Choice 1"
|
||||
Then I should not see "Responses"
|
||||
And I should not see "Graph display"
|
||||
And I follow "Course 1"
|
||||
And I choose "Option 1" from "Choice 1" choice activity
|
||||
And I should see "Your selection: Option 1"
|
||||
And I should see "Responses"
|
||||
And I should see "Graph display"
|
||||
|
||||
Scenario: Show results to students only after the choice is closed
|
||||
Given I add a "Choice" to section "1" and I fill the form with:
|
||||
|
@ -66,7 +64,6 @@ Feature: A teacher can choose one of 4 options for publishing choice results
|
|||
And I follow "Course 1"
|
||||
When I follow "Choice 1"
|
||||
Then I should not see "Responses"
|
||||
And I should not see "Graph display"
|
||||
And I choose "Option 1" from "Choice 1" choice activity
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
|
@ -88,7 +85,6 @@ Feature: A teacher can choose one of 4 options for publishing choice results
|
|||
And I follow "Course 1"
|
||||
And I follow "Choice 1"
|
||||
And I should see "Responses"
|
||||
And I should see "Graph display"
|
||||
|
||||
Scenario: Always show results to students
|
||||
Given I add a "Choice" to section "1" and I fill the form with:
|
||||
|
@ -102,4 +98,3 @@ Feature: A teacher can choose one of 4 options for publishing choice results
|
|||
And I follow "Course 1"
|
||||
When I follow "Choice 1"
|
||||
And I should see "Responses"
|
||||
And I should see "Graph display"
|
||||
|
|
|
@ -40,7 +40,6 @@ Feature: A teacher can choose whether to publish choice activity results anonymo
|
|||
And I follow "Choice 1"
|
||||
Then I should not see "Student 1"
|
||||
And I should not see "Users who chose this option"
|
||||
And ".results .graph img" "css_element" should exist
|
||||
|
||||
Scenario: Publish full results
|
||||
Given I add a "Choice" to section "1" and I fill the form with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue