From 147a65d47d2df8ce67899bdc37f1df7dd45f69dd Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 9 Mar 2017 14:30:15 +1300 Subject: [PATCH] Check contents of input field in test. --- tests/behat/defaultstatus.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/defaultstatus.feature b/tests/behat/defaultstatus.feature index 77bd88f..63b2ab4 100644 --- a/tests/behat/defaultstatus.feature +++ b/tests/behat/defaultstatus.feature @@ -28,4 +28,4 @@ Feature: Admin can set default status set for use in new attendance | Name | Attendance1 | And I follow "Attendance1" And I follow "Status set" - Then I should see "customstatusdescription" \ No newline at end of file + Then the field with xpath "//*[@id='preferencesform']/table/tbody/tr[2]/td[3]/input" matches value "customstatusdescription" \ No newline at end of file -- 2.11.0