Fix flakiness in test SettingsArchivePage
[MAILPOET-5008]
This commit is contained in:
@ -78,10 +78,13 @@ class SettingsArchivePageCest {
|
||||
$i->waitForText('SentNewsletter2');
|
||||
$i->clickItemRowActionByItemName('SentNewsletter2', 'Move to trash');
|
||||
$i->waitForNoticeAndClose('1 email was moved to the trash.');
|
||||
$i->waitForListingItemsToLoad();
|
||||
$i->waitForText('SentNewsletter3');
|
||||
$i->clickItemRowActionByItemName('SentNewsletter3', 'Move to trash');
|
||||
$i->waitForNoticeAndClose('1 email was moved to the trash.');
|
||||
$i->click('[data-automation-id="filters_trash"]');
|
||||
$i->waitForElement('[data-automation-id="empty_trash"]');
|
||||
$i->waitForListingItemsToLoad();
|
||||
$i->waitForText('SentNewsletter3');
|
||||
$i->clickItemRowActionByItemName('SentNewsletter3', 'Delete permanently');
|
||||
$i->waitForText('1 email was permanently deleted.');
|
||||
|
Reference in New Issue
Block a user