Fix for tests

This commit is contained in:
Hillel Coren 2017-03-19 17:23:57 +02:00
parent 0f161eb2c9
commit 091ac684e5

View File

@ -1,4 +1,4 @@
/<?php <?php
use Codeception\Util\Fixtures; use Codeception\Util\Fixtures;
use Faker\Factory; use Faker\Factory;
@ -63,7 +63,7 @@ class TaxRatesCest
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle'); $I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey); $I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable'); $I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
$I->selectOption('#taxRateSelect1', $invoiceTaxName . ': ' . $invoiceTaxRate . '%'); $I->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . $invoiceTaxRate . '%');
$I->wait(3); $I->wait(3);
// check total is right before saving // check total is right before saving