mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-06 23:10:03 +00:00
![Connor Shea](/assets/img/avatar_default.png)
This removes explicit timeouts from all calls to waitForElementVisible in the acceptance test suite. If a page failed to load, the test would wait for the entire timeout before failing. This made running the test suite locally pretty painful. Generally, most of these should never take more than the default 10 second timeout, so they're unnecessary.
18 lines
355 B
PHP
18 lines
355 B
PHP
<?php
|
|
|
|
namespace Step\Acceptance;
|
|
|
|
use \AcceptanceTester as Tester;
|
|
|
|
class Dashboard extends Tester
|
|
{
|
|
/**
|
|
* Wait for for the edit view to become visible
|
|
*/
|
|
public function waitForDashboardVisible()
|
|
{
|
|
$I = $this;
|
|
$I->waitForElementVisible('.dashboard');
|
|
$I->waitForElementVisible('.dashletcontainer');
|
|
}
|
|
}
|