0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-11 00:42:27 +00:00
salesagility_SuiteCRM/tests/_support/Step/Acceptance/EditView.php
Connor Shea 658a4a4990 Remove waitForText in Save function.
It doesn't work quite right.
2019-06-21 15:39:32 -06:00

24 lines
455 B
PHP

<?php
namespace Step\Acceptance;
use \AcceptanceTester as Tester;
class EditView extends Tester
{
/**
* Wait for for the edit view to become visible
*/
public function waitForEditViewVisible()
{
$I = $this;
$I->waitForElementVisible('#EditView');
}
public function clickSaveButton()
{
$I = $this;
$I->executeJS('window.scrollTo(0,0); return true;');
$I->click('Save');
}
}