aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-03 09:10:03 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-03 09:10:03 +0100
commitf685349aa3b5989cb1dd3420d3ab6453ce727e5c (patch)
tree7ecbb91d0a870fe7512dc358ea6d5ac467cb056e
parent9b2f0f10f7e220e804e0c6d60a6d727934260b23 (diff)
Wrong xpath in Behat test
-rw-r--r--tests/behat/edit.feature2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/behat/edit.feature b/tests/behat/edit.feature
index df400ad..9c4ed64 100644
--- a/tests/behat/edit.feature
+++ b/tests/behat/edit.feature
@@ -50,7 +50,7 @@ Feature: Test editing an Algebra question
And I set the following fields to these values:
| behaviour | immediatefeedback |
And I press "Start again with these options"
- And I set the field with xpath "//div[@class='qtext']//input[contains(@id, '1_answer')]" to "6*x"
+ And I set the field with xpath "//div[@class='answer']//input[contains(@id, '1_answer')]" to "6*x"
And I press "Check"
Then I should see "3x + 4x gives 7x not 6x."
And I should see "Generalfeedback: (P + Q)(x) = 7x."