From f685349aa3b5989cb1dd3420d3ab6453ce727e5c Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Wed, 3 Jan 2018 09:10:03 +0100 Subject: Wrong xpath in Behat test --- tests/behat/edit.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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." -- cgit v1.2.3