Merge pull request #1772 from mailpoet/chrome-update

Chrome update [MAILPOET-1738]
This commit is contained in:
M. Shull
2019-01-31 16:57:54 -05:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@ -62,7 +62,7 @@ services:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
volumes:
- /dev/shm:/dev/shm
image: selenium/standalone-chrome-debug:3.14.0-helium
image: selenium/standalone-chrome-debug:3.141.59-fluorine
ports:
- 4444
- 5900:5900

View File

@ -20,7 +20,9 @@ require_once __DIR__ . '/../DataFactories/Form.php';
* @SuppressWarnings(PHPMD)
*/
class AcceptanceTester extends \Codeception\Actor {
use _generated\AcceptanceTesterActions;
use _generated\AcceptanceTesterActions {
switchToNextTab as _switchToNextTab;
}
const WP_URL = 'http://wordpress';
const MAIL_URL = 'http://mailhog:8025';
@ -141,4 +143,10 @@ class AcceptanceTester extends \Codeception\Actor {
$I->click($button);
}
public function switchToNextTab($offset = 1) {
$this->_switchToNextTab($offset);
// workaround for frozen tabs when opened by clicking on links
$this->wait(1);
}
}