@@ -30,7 +30,7 @@ Feature: Users can manage entries in database activities
3030 Scenario : Create entry
3131 Given I entered the data activity "Web links" on course "Course 1" as "student1" in the app
3232 Then I should find "No entries yet" in the app
33- When I press "Add entries " in the app
33+ When I press "Add entry " in the app
3434 And I set the following fields to these values in the app:
3535 | URL | https ://moodle .org / |
3636 | Description | Moodle community site |
@@ -48,13 +48,13 @@ Feature: Users can manage entries in database activities
4848 And I entered the data activity "Web links" on course "Course 1" as "student1" in the app
4949
5050 # TODO Create and use a generator for database entries.
51- When I press "Add entries " in the app
51+ When I press "Add entry " in the app
5252 And I set the following fields to these values in the app:
5353 | URL | https ://moodle .org / |
5454 | Description | Moodle community site |
5555 And I press "Save" near "Web links" in the app
5656 And I entered the data activity "Web links" on course "Course 1" as "student2" in the app
57- And I press "Add entries " in the app
57+ And I press "Add entry " in the app
5858 And I set the following fields to these values in the app:
5959 | URL | https ://moodlecloud .com / |
6060 | Description | Moodle Cloud |
@@ -80,7 +80,7 @@ Feature: Users can manage entries in database activities
8080 And I should find "Moodle Cloud" in the app
8181
8282 Given I entered the data activity "Data with comments" on course "Course 1" as "student1" in the app
83- When I press "Add entries " in the app
83+ When I press "Add entry " in the app
8484 And I set the following fields to these values in the app:
8585 | Description | Moodle community site |
8686 And I press "Save" near "Data with comments" in the app
@@ -102,7 +102,7 @@ Feature: Users can manage entries in database activities
102102
103103 Scenario : Students can not edit or delete other user's entries from list and single view in the app
104104 Given I entered the data activity "Web links" on course "Course 1" as "student1" in the app
105- And I press "Add entries " in the app
105+ And I press "Add entry " in the app
106106 And I set the following fields to these values in the app:
107107 | URL | https ://moodle .org / |
108108 | Description | Moodle community site |
@@ -119,7 +119,7 @@ Feature: Users can manage entries in database activities
119119
120120 Scenario : Delete entry (student) & Update entry (student)
121121 Given I entered the data activity "Web links" on course "Course 1" as "student1" in the app
122- And I press "Add entries " in the app
122+ And I press "Add entry " in the app
123123 And I set the following fields to these values in the app:
124124 | URL | https ://moodle .org / |
125125 | Description | Moodle community site |
@@ -150,7 +150,7 @@ Feature: Users can manage entries in database activities
150150 And I should not find "Moodle Cloud" in the app
151151
152152 # Repeat again with single view.
153- Given I press "Add entries " in the app
153+ Given I press "Add entry " in the app
154154 And I set the following fields to these values in the app:
155155 | URL | https ://moodle .org / |
156156 | Description | Moodle community site |
@@ -185,12 +185,12 @@ Feature: Users can manage entries in database activities
185185
186186 Scenario : Delete entry (teacher) & Update entry (teacher)
187187 Given I entered the data activity "Web links" on course "Course 1" as "student1" in the app
188- And I press "Add entries " in the app
188+ And I press "Add entry " in the app
189189 And I set the following fields to these values in the app:
190190 | URL | https ://moodle .org / |
191191 | Description | Moodle community site |
192192 And I press "Save" near "Web links" in the app
193- And I press "Add entries " in the app
193+ And I press "Add entry " in the app
194194 And I set the following fields to these values in the app:
195195 | URL | https ://telegram .org / |
196196 | Description | Telegram |
@@ -261,7 +261,7 @@ Feature: Users can manage entries in database activities
261261 | database | type | name | description |
262262 | data2 | number | Number | Number value |
263263 And I entered the data activity "Number DB" on course "Course 1" as "student1" in the app
264- When I press "Add entries " in the app
264+ When I press "Add entry " in the app
265265 And I press "Save" near "Number DB" in the app
266266 Then I should find "You did not fill out any fields!" in the app
267267
0 commit comments