mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on TaxRates test
This commit is contained in:
parent
2f2081b4b0
commit
fb9a2de240
@ -1,4 +1,4 @@
|
||||
<?php //[STAMP] 5d3610ae822b6990504d5dce501c103b
|
||||
<?php //[STAMP] a3cf36879dbbec28f15389e7d8d325a2
|
||||
namespace _generated;
|
||||
|
||||
// This class was automatically generated by build task
|
||||
@ -2664,6 +2664,28 @@ trait AcceptanceTesterActions
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* [!] Method is generated. Documentation taken from corresponding module.
|
||||
*
|
||||
* Move to the middle of the given element matched by the given locator.
|
||||
* Extra shift, calculated from the top-left corner of the element, can be set by passing $offsetX and $offsetY parameters.
|
||||
*
|
||||
* ``` php
|
||||
* <?php
|
||||
* $I->scrollTo(['css' => '.checkout'], 20, 50);
|
||||
* ?>
|
||||
* ```
|
||||
*
|
||||
* @param $selector
|
||||
* @param int $offsetX
|
||||
* @param int $offsetY
|
||||
* @see \Codeception\Module\WebDriver::scrollTo()
|
||||
*/
|
||||
public function scrollTo($selector, $offsetX = null, $offsetY = null) {
|
||||
return $this->getScenario()->runStep(new \Codeception\Step\Action('scrollTo', func_get_args()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* [!] Method is generated. Documentation taken from corresponding module.
|
||||
*
|
||||
|
@ -73,12 +73,12 @@ class TaxRatesCest
|
||||
$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->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . floatval($invoiceTaxRate) . '%');
|
||||
$I->wait(2);
|
||||
$I->wait(3);
|
||||
|
||||
// check total is right before saving
|
||||
$I->see("\${$total}");
|
||||
$I->click('Save');
|
||||
$I->wait(1);
|
||||
$I->wait(2);
|
||||
$I->see($clientEmail);
|
||||
|
||||
// check total is right after saving
|
||||
|
Loading…
x
Reference in New Issue
Block a user