|
@@ -1,4 +1,4 @@
|
|
|
-<?php
|
|
|
+erA<?php
|
|
|
use Codeception\Util\Locator;
|
|
|
|
|
|
class BaseCest
|
|
@@ -66,7 +66,7 @@ class BaseCest
|
|
|
$I->fillField('Tipo de Workflow', 'workflow'."\n");
|
|
|
$I->fillField('Supports', 'ClientBundle\Entity\Client'."\n");
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('8');
|
|
|
+ $I->wait('18');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Action
|
|
@@ -172,16 +172,21 @@ class BaseCest
|
|
|
# Clave duplicada
|
|
|
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/onu/create');
|
|
|
- $I->click('span.select2-selection__arrow');
|
|
|
+ $I->click("//*[@class='select2-selection__arrow']");
|
|
|
$I->wait('3');
|
|
|
$I->fillField("//*[@class='select2-search__field']",'TestFernando'."\n");
|
|
|
- $I->wait('3');
|
|
|
+$I->wait('3');
|
|
|
$I->pressKey("//*[@class='select2-search__field']",WebDriverKeys::ENTER);
|
|
|
$I->wait('3');
|
|
|
- $I->fillField('Número Serie Pon','fhtt041a89pe');
|
|
|
- $I->selectOption('Perfil','1');
|
|
|
- $I->selectOption('NAP','4');
|
|
|
- $I->selectOption('Modelo','1');
|
|
|
+ $I->fillField('Número Serie Pon','fhtt041a8pe');
|
|
|
+ $I->selectOption('Perfil','3');
|
|
|
+ $I->selectOption('NAP','2');
|
|
|
+ $I->selectOption('Modelo','2');
|
|
|
+$I->wait('3');
|
|
|
+# $I->click("(//*[@class='select2-arrow'])[5]");
|
|
|
+#$I->wait('3');
|
|
|
+# $I->click("(//*[@class='select2-result-label'])[1]");
|
|
|
+
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('18');
|
|
|
$I->see('ha sido creado con éxito');
|