MDL-49861 mod_data: Behat step to test adding records.

Clicking 'Save and add another' should clear the form.
This commit is contained in:
Adrian Greeve
2016-03-30 16:22:49 +08:00
parent c18ad4afd6
commit f27ca9451f
+1
View File
@@ -52,6 +52,7 @@ Feature: Users can add entries to database activities
And I add an entry to "Test database name" database with:
| Test field name | Student second entry |
And I press "Save and add another"
And the field "Test field name" does not match value "Student second entry"
And I add an entry to "Test database name" database with:
| Test field name | Student third entry |
And I press "Save and view"