Fix acceptance tests

This commit is contained in:
Amine Ben hammou
2020-03-20 05:54:10 +01:00
committed by Veljko V
parent e88aef03d9
commit 13eebc742c
9 changed files with 84 additions and 83 deletions

View File

@@ -30,7 +30,7 @@ class ReinstallFromScratchCest {
// Step 2 - reinstall from scratch
$i->amOnPage('/wp-admin/admin.php?page=mailpoet-settings#advanced');
$i->waitForElement('#mailpoet_reinstall');
$i->waitForElement('[data-automation-id="reinstall-button"]');
$i->click('Reinstall now...');
$i->acceptPopup();
$i->waitForText('Welcome! Lets get you started on the right foot.');