Answer checks should offer feedback to assistive tech. This commit adds
a page level javascript SR object to enable reading of alert messages. LMS-2158
This commit is contained in:
@@ -130,11 +130,11 @@ Feature: LMS.Answer problems
|
||||
|
||||
Scenario: I can view and hide the answer if the problem has it:
|
||||
Given I am viewing a "numerical" that shows the answer "always"
|
||||
When I press the button with the label "Show Answer(s)"
|
||||
Then the Show/Hide button label is "Hide Answer(s)"
|
||||
When I press the button with the label "Show Answer"
|
||||
Then the Show/Hide button label is "Hide Answer"
|
||||
And I should see "4.14159" somewhere in the page
|
||||
When I press the button with the label "Hide Answer(s)"
|
||||
Then the Show/Hide button label is "Show Answer(s)"
|
||||
When I press the button with the label "Hide Answer"
|
||||
Then the Show/Hide button label is "Show Answer"
|
||||
And I should not see "4.14159" anywhere on the page
|
||||
|
||||
Scenario: I can see my score on a problem when I answer it and after I reset it
|
||||
|
||||
Reference in New Issue
Block a user