@@ -992,6 +992,9 @@ public function testExample5()
992
992
$ this ->module ->seeCurrentUrlEquals ('/form/example5?username=John&password=1234 ' );
993
993
}
994
994
995
+ /**
996
+ * @env chrome
997
+ */
995
998
public function testExample5WithSubmitForm ()
996
999
{
997
1000
$ this ->module ->amOnPage ('/form/example5 ' );
@@ -1008,6 +1011,9 @@ public function testExample5WithParams()
1008
1011
$ this ->module ->seeCurrentUrlEquals ('/form/example5?username=John&password=1234 ' );
1009
1012
}
1010
1013
1014
+ /**
1015
+ * @env chrome
1016
+ */
1011
1017
public function testExample5WithSubmitFormAndParams ()
1012
1018
{
1013
1019
$ this ->module ->amOnPage ('/form/example5?a=b ' );
@@ -1033,6 +1039,9 @@ public function testExample9()
1033
1039
$ this ->assertArrayHasKey ('form_name ' , $ form );
1034
1040
}
1035
1041
1042
+ /**
1043
+ * @env chrome
1044
+ */
1036
1045
public function testSubmitForm ()
1037
1046
{
1038
1047
$ this ->module ->amOnPage ('/form/complex ' );
@@ -1050,6 +1059,9 @@ public function testSubmitForm()
1050
1059
$ this ->assertEquals ('kill_all ' , $ form ['action ' ]);
1051
1060
}
1052
1061
1062
+ /**
1063
+ * @env chrome
1064
+ */
1053
1065
public function testSubmitFormWithFillField ()
1054
1066
{
1055
1067
$ this ->module ->amOnPage ('/form/complex ' );
@@ -1063,6 +1075,9 @@ public function testSubmitFormWithFillField()
1063
1075
$ this ->assertEquals ('Is from Iliyum, NY ' , $ form ['description ' ]);
1064
1076
}
1065
1077
1078
+ /**
1079
+ * @env chrome
1080
+ */
1066
1081
public function testSubmitFormWithoutButton ()
1067
1082
{
1068
1083
$ this ->module ->amOnPage ('/form/empty ' );
@@ -1073,6 +1088,9 @@ public function testSubmitFormWithoutButton()
1073
1088
$ this ->assertEquals ('Hello! ' , $ form ['text ' ]);
1074
1089
}
1075
1090
1091
+ /**
1092
+ * @env chrome
1093
+ */
1076
1094
public function testSubmitFormWithAmpersand ()
1077
1095
{
1078
1096
$ this ->module ->amOnPage ('/form/submitform_ampersands ' );
@@ -1081,6 +1099,9 @@ public function testSubmitFormWithAmpersand()
1081
1099
$ this ->assertEquals ('this & that ' , $ form ['test ' ]);
1082
1100
}
1083
1101
1102
+ /**
1103
+ * @env chrome
1104
+ */
1084
1105
public function testSubmitFormWithArrayField ()
1085
1106
{
1086
1107
$ this ->module ->amOnPage ('/form/example17 ' );
@@ -1090,6 +1111,9 @@ public function testSubmitFormWithArrayField()
1090
1111
$ this ->assertArrayNotHasKey ('FooBar[bar] ' , $ data );
1091
1112
}
1092
1113
1114
+ /**
1115
+ * @env chrome
1116
+ */
1093
1117
public function testSubmitFormMultiSelectWithArrayParameter ()
1094
1118
{
1095
1119
$ this ->module ->amOnPage ('/form/submitform_multiple ' );
@@ -1105,6 +1129,9 @@ public function testSubmitFormMultiSelectWithArrayParameter()
1105
1129
$ this ->assertEquals ('not seen four ' , $ form ['select ' ][1 ]);
1106
1130
}
1107
1131
1132
+ /**
1133
+ * @env chrome
1134
+ */
1108
1135
public function testSubmitFormWithMultiSelect ()
1109
1136
{
1110
1137
$ this ->module ->amOnPage ('/form/submitform_multiple ' );
@@ -1115,6 +1142,9 @@ public function testSubmitFormWithMultiSelect()
1115
1142
$ this ->assertEquals ('see test two ' , $ form ['select ' ][1 ]);
1116
1143
}
1117
1144
1145
+ /**
1146
+ * @env chrome
1147
+ */
1118
1148
public function testSubmitFormCheckboxWithArrayParameter ()
1119
1149
{
1120
1150
$ this ->module ->amOnPage ('/form/field_values ' );
@@ -1132,6 +1162,9 @@ public function testSubmitFormCheckboxWithArrayParameter()
1132
1162
$ this ->assertEquals ('not seen three ' , $ form ['checkbox ' ][2 ]);
1133
1163
}
1134
1164
1165
+ /**
1166
+ * @env chrome
1167
+ */
1135
1168
public function testSubmitFormCheckboxWithBooleanArrayParameter ()
1136
1169
{
1137
1170
$ this ->module ->amOnPage ('/form/field_values ' );
@@ -1157,6 +1190,9 @@ public function testFillingFormFieldWithoutSubmitButton()
1157
1190
$ this ->module ->fillField ('test ' , 'value ' );
1158
1191
}
1159
1192
1193
+ /**
1194
+ * @env chrome
1195
+ */
1160
1196
public function testSubmitFormWithDefaultTextareaValue ()
1161
1197
{
1162
1198
$ this ->module ->amOnPage ('/form/textarea ' );
@@ -1217,6 +1253,7 @@ public function testSubmitFormWithTwoSubmitButtonsSubmitsCorrectValue()
1217
1253
}
1218
1254
1219
1255
/**
1256
+ * @env chrome
1220
1257
* https://github.com/Codeception/Codeception/issues/1051
1221
1258
*/
1222
1259
public function testSubmitFormWithTwoSubmitButtonsSubmitsCorrectValueAfterFillField ()
@@ -1232,6 +1269,7 @@ public function testSubmitFormWithTwoSubmitButtonsSubmitsCorrectValueAfterFillFi
1232
1269
}
1233
1270
1234
1271
/*
1272
+ * @env chrome
1235
1273
* https://github.com/Codeception/Codeception/issues/1274
1236
1274
*/
1237
1275
public function testSubmitFormWithDocRelativePathForAction ()
@@ -1243,6 +1281,9 @@ public function testSubmitFormWithDocRelativePathForAction()
1243
1281
$ this ->module ->seeCurrentUrlEquals ('/form/example11 ' );
1244
1282
}
1245
1283
1284
+ /**
1285
+ * @env chrome
1286
+ */
1246
1287
public function testSubmitFormWithDocRelativePathForActionFromDefaultPage ()
1247
1288
{
1248
1289
$ this ->module ->amOnPage ('/form/ ' );
@@ -1260,6 +1301,7 @@ public function testLinkWithDocRelativeURLFromDefaultPage()
1260
1301
}
1261
1302
1262
1303
/*
1304
+ * @env chrome
1263
1305
* https://github.com/Codeception/Codeception/issues/1507
1264
1306
*/
1265
1307
public function testSubmitFormWithDefaultRadioAndCheckboxValues ()
@@ -1275,6 +1317,9 @@ public function testSubmitFormWithDefaultRadioAndCheckboxValues()
1275
1317
$ this ->assertEquals ('to be sent ' , $ form ['radio1 ' ]);
1276
1318
}
1277
1319
1320
+ /**
1321
+ * @env chrome
1322
+ */
1278
1323
public function testSubmitFormCheckboxWithBoolean ()
1279
1324
{
1280
1325
$ this ->module ->amOnPage ('/form/example16 ' );
@@ -1293,13 +1338,19 @@ public function testSubmitFormCheckboxWithBoolean()
1293
1338
$ this ->assertArrayNotHasKey ('checkbox1 ' , $ form , 'Checkbox value sent ' );
1294
1339
}
1295
1340
1341
+ /**
1342
+ * @env chrome
1343
+ */
1296
1344
public function testSubmitFormWithCheckboxesWithoutValue ()
1297
1345
{
1298
1346
$ this ->module ->amOnPage ('/form/checkbox_default_value ' );
1299
1347
$ this ->module ->submitForm ('form ' , ['checkbox1 ' => true ]);
1300
1348
$ this ->assertSame ('on ' , data::get ('query ' )['checkbox1 ' ]);
1301
1349
}
1302
1350
1351
+ /**
1352
+ * @env chrome
1353
+ */
1303
1354
public function testSubmitFormWithButtons ()
1304
1355
{
1305
1356
$ this ->module ->amOnPage ('/form/form_with_buttons ' );
@@ -1408,6 +1459,7 @@ public function testTextFieldByNameFirstNotCss()
1408
1459
}
1409
1460
1410
1461
/**
1462
+ * @env chrome
1411
1463
* @Issue https://github.com/Codeception/Codeception/issues/1585
1412
1464
* @Issue https://github.com/Codeception/Codeception/issues/1602
1413
1465
*/
@@ -1425,6 +1477,9 @@ public function testUnreachableField()
1425
1477
$ this ->assertContains ('davert ' , $ data ['users ' ]);
1426
1478
}
1427
1479
1480
+ /**
1481
+ * @env chrome
1482
+ */
1428
1483
public function testSubmitAdjacentForms ()
1429
1484
{
1430
1485
$ this ->module ->amOnPage ('/form/submit_adjacentforms ' );
0 commit comments