mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-11 00:42:27 +00:00
24 lines
455 B
PHP
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');
|
|
}
|
|
}
|