function test_add_item_customField(SuperUser $i) { $i->login('*****@*****.**'); $i->clickMenu('Commerce->Configuration'); $i->waitForText('Custom Fields'); $i->click('Add Item CustomField'); $i->waitPageLoad(); $i->waitForText('show in asceding order'); // $i->fillAktField('name',''); $i->click('Add'); $i->waitForText('Name must not be empty'); $i->fillAktField('name', 'Color'); $i->select2Option("display_type", ['text' => '']); $i->click('Add'); $i->waitForText('Display_type must not be empty'); $i->select2Option("display_type", ['text' => 'Color']); $i->fillAktField('sequence_order', '1'); $i->checkCheckBox('is_filterable'); $i->click('Add'); }