Try to fix flaky test

pull/7169/head
Aleksander Machniak 5 years ago
parent 31b0275573
commit a646b13715

@ -56,9 +56,10 @@ class Contacts extends \Tests\Browser\TestCase
$browser->assertToolbarMenu(['select'], []);
}
else if ($browser->isTablet()) {
$browser->click('.toolbar-list-button');
$browser->assertVisible('#toolbar-list-menu a.select:not(.disabled)');
$browser->click();
$browser->click('.toolbar-list-button')
->waitFor('#toolbar-list-menu')
->assertVisible('#toolbar-list-menu a.select:not(.disabled)')
->click();
}
else {
$browser->assertVisible('#toolbar-list-menu a.select:not(.disabled)');

Loading…
Cancel
Save